Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDK1.2 JFC - Lightweight vs Heavyweight

Status
Not open for further replies.

bmglkt

Programmer
Apr 15, 1999
1
US
I am doing a GUI app for my company and have run into a problem showing/updating a progress dialog. I understand from Sun's online documentation that you should not mix heavyweight (AWT Objects) and lightweight (Swing Objects) in the same application. I am using JFC (Swing) for all of my GUI objects. I am trying to show a JProgress bar inside of my JDialog window. However, all I see is the outline of my JDialog box and the JButton inside of it. Everything else including the background is the main JApplet object and its components shows through the JDialog box. I am using Visual Cafe to build my GUI, so I don't know if this is a Visual Cafe problem or not. Can anything offer a suggestion? Thanks.
 
Hi, I use Visual Cafe too; but not at home so I can't test out your problem yet.<br>
<br>
Could you be a bit more explicit though? Have you given the JProgress bar a value at this point?<br>
<br>
PS - I didn't know about not mixing those objects. Better bear it in mind<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top