Does anyone knows Java Eclipse? On how to make GUI connected to class where ur codes in GUI will be in class which u gonna call | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does anyone knows Java Eclipse? On how to make GUI connected to class where ur codes in GUI will be in class which u gonna call

18th Mar 2018, 1:40 PM
Angella Joyze Aquino
Angella Joyze Aquino - avatar
4 Answers
+ 1
I think you want to use the JFrame class.
18th Mar 2018, 1:43 PM
josh mizzi
josh mizzi - avatar
+ 1
Public class myClass{ Public static void main(String[] args) { JFrame jf= new JFrame(); /* jf.otherProperties = value; */ JButton J = new JButton() jf.add(j); jf.isVisible(true ); } }
18th Mar 2018, 2:09 PM
josh mizzi
josh mizzi - avatar
0
yes JFrames and class...both
18th Mar 2018, 1:45 PM
Angella Joyze Aquino
Angella Joyze Aquino - avatar
0
like GUI and main class...i wish i could email the codes...i really need help
18th Mar 2018, 2:14 PM
Angella Joyze Aquino
Angella Joyze Aquino - avatar