You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Every time I try to switch from Java Mode to Android Mode #1410
I get the following error: "java.awt.IllegalComponentStateException: The frame is displayable".
This happens on both my desktop and my laptop. It seems to be related to java.awt.Frame.setUndecorated being called while the frame is already visible.
Steps to reproduce:
Open Processing.
Click on the "Java" mode button to switch to "Android".
The error window pops up immediately.
Activity
SalmaneKhalili commentedon Feb 23, 2026
Debugging
Hello, looking at the documentation, it seems frames cannot be set to undecorated while being displayed.
Solution
A simple solution is to encompass the setUndecorated(true) method in Editor.java with a isDisplayable() conditional.
TRADEOFF
EDIT - It is no longer being decorated, this PR is ready for user testing! @catilac
fsamanos-boop commentedon Mar 28, 2026