Re: when to use/not use JFrame or Jpanel in Swing or AWT?
- From: Daniel Pitts <googlegroupie@xxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 16:20:28 -0000
On Aug 31, 1:23 am, dilip <linkbuilder2...@xxxxxxxxx> wrote:
hi friends ,
myself dilip,currently learning java. During practicals of java i got
confused because sir sometime use JFrame or sometimes Jpanel in Swing /
AWT .
What is basic difference between them.Please clarify when to use/not
use either of JFrame /Jpanel.
Dilip Kumarhttp://www.intelcs.com/IT-Companies/
JFrame represents an actual Window (Frame) on the desktop.
JPanel represents a container within some other Window, such as a
JFrame or JDialog.
AWT doesn't have JFrame or JPanel, they are specific to Swing. AWT
does have its own equivalent classes, but I would steer clear of them.
Swing is a lot easy to create useful applications in.
.
- References:
- Prev by Date: Re: Adding a timeout to commands by wrapping + thread - suggestions?
- Next by Date: (WWW.CNCIRCLE.COM) discount wholesale jordan shoes,af1,gucci ,prade shoes, T -shirts
- Previous by thread: Re: when to use/not use JFrame or Jpanel in Swing or AWT?
- Next by thread: any book to start database and visual application under linux in java
- Index(es):
Relevant Pages
|