Hey guys, I'm a freshman in GUI, could someone tell me what's the difference among pane, window and frame ?
Thank you~~ :-p
Printable View
Hey guys, I'm a freshman in GUI, could someone tell me what's the difference among pane, window and frame ?
Thank you~~ :-p
Hey,
You can find everything you need here:
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
A Frame is a top-level window with a title and a border. The size of the frame includes any area designated for the border.
A frame, implemented as an instance of the JFrame class, is a window that has decorations such as a border, a title, and supports button components that close or iconify the window. Applications with a GUI usually include at least one frame. Applets sometimes use frames, as well.
How to Make Frames (Main Windows) (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
Follow the trail.. :)