+ 13

Working Java GUI

Every program I try with frames ends up timing out, instead of displaying my window. Do you have an example that currently works within SoloLearn?

20th Sep 2017, 2:36 AM
John Wells
John Wells - avatar
7 ответов
+ 5
JFrame window = new JFrame("Name of window"); window.setVisible(true);//this is very important and needs to be there for your window to show. Check out JavaFx it's a better solution compared to Swing. http://docs.oracle.com/javase/8/javafx/get-started-tutorial/jfx-overview.htm#JFXST784
20th Sep 2017, 6:03 AM
Nick Nderitu
Nick Nderitu - avatar
+ 8
None that will actually run Java Gui on your android device. At least AFAIK, as of yet. There are several that will allow you to write Java code though. I use AIDE, but of you want larger projects it isn't free. Just search Java IDE in the play store. AIDE will allow you to create Android apps on your device though.
20th Sep 2017, 2:44 AM
ChaoticDawg
ChaoticDawg - avatar
+ 7
Is there a free Android app that supports it?
20th Sep 2017, 2:40 AM
John Wells
John Wells - avatar
+ 7
I wasn't impressed with AIDE and now giving up on N-IDE. I'm seriously considering writing my own. I've written compilers in the past along with embedded OS so shouldn't be too hard. Personally, charging more than $10 for software is unreasonable given the installed base possible for it.
20th Sep 2017, 3:19 AM
John Wells
John Wells - avatar
+ 6
Java Gui is not available in the sololearn playground.
20th Sep 2017, 2:37 AM
ChaoticDawg
ChaoticDawg - avatar
+ 4
It is and was executed before the timeout occurred.
20th Sep 2017, 6:26 AM
John Wells
John Wells - avatar
0
How to add attentication in the microsoft access table ?
21st Jun 2023, 5:23 AM
Ali Esfandiyari
Ali Esfandiyari - avatar