Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
OCPJP 6, IBM DB2, IBM RAD Certified
http://javawithsachin.blogspot.in/
OCPJP 6, IBM DB2, IBM RAD Certified
http://javawithsachin.blogspot.in/
Manny Ruiz wrote:Currently i am using eclipse, but I still very new not only to Java, but to programming in general. This GUI stuff is really starting to confuse me. Let me see if I at least understand the basics of a GUI. OK so a the first thing to create when doing a GUI is a Jframe. after that JPanels are created to hold the components. Those components are arranged according to the layout. Does this sound right so far?
ok then when you want to add components to a GUI, do you have to define them as variables before hand? for example:
The first line "public class extends JFrame" now does this go within the class...
is it possible to create the GUI in the main method? whats the best way to create GUI's?
do i have to add an action listener to those or will what ever amount is put in them be saved in the label....
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Yup, yup, yup. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|