Skip to content

labs: embed BrowserCode directly in the CheerpJ 3.0rc1 post - #537

Merged
GabrielaReyna merged 1 commit into
mainfrom
fix/rc1-embed-browsercode
Dec 2, 2026
Merged

GabrielaReyna merged 1 commit into
mainfrom
fix/rc1-embed-browsercode

Conversation

@sderossi

@sderossi sderossi commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

The library mode demo in the CheerpJ 3.0rc1 blog post embedded a JavaFiddle path link (javafiddle.leaningtech.com/<code>/embed?theme=dark). JavaFiddle is retired, and that link now only works through the redirect rules on javafiddle.leaningtech.com. This points the iframe straight at BrowserCode's CheerpJ embed with the same project in the hash:

https://browsercode.io/embed?runtime=cheerpj&view=editor,terminal,preview#<code>

  • The project is unchanged: it decodes to "Hello world with Swing" (Main.java) in the share format BrowserCode reads.
  • ?theme=dark is dropped because BrowserCode's embed has no theme option.
  • allow="clipboard-write" and a title were added to match the docs overview embed.

The library mode demo pointed at a JavaFiddle path embed, which now only
works through the javafiddle.leaningtech.com redirect rules. Point it at
BrowserCode's CheerpJ embed with the same project in the hash, so it no
longer depends on them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B9ECvef6N5P8hGPCbiRYE5
@sderossi
sderossi marked this pull request as ready for review November 30, 2026 21:00
@GabrielaReyna
GabrielaReyna merged commit 2009f92 into main Dec 2, 2026
4 checks passed
@GabrielaReyna
GabrielaReyna deleted the fix/rc1-embed-browsercode branch December 2, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants