Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Every time I try to switch from Java Mode to Android Mode

未關閉
#1,410 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
50/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
java
領域
desktop

研究方向

在 Linux Mint 上使用 Processing 4.5.2,透過從 Java 模式切換至 Android 模式來重現問題。追蹤 java.awt.Frame.setUndecorated 周圍的模式切換路徑,並確認模式切換能在不出現 IllegalComponentStateException 的情況下完成,且顯示 Android 模式。

由索引模型根據 Issue 內容生成。

描述

bug
Most appropriate sub-area of Processing 4?

I'm not sure

Processing version

4.5.2

Operating system

Linux mint 22.1 Xia

Bug description

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.

Steps to reproduce this
snippet

// Paste your code below :)

void setup() {

}

void draw() {

}
Additional context

No response

Would you like to work on the issue?

No, I’m just reporting the issue

主要語言
Java
星號
497
分支
183
平均合併
4 小時 39 分鐘
30 天內合併 PR
3

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

processing/processing4 的其他 Issue

查看 processing/processing4 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。