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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swing and a Canvas

Status
Not open for further replies.

Cabaal

Programmer
Aug 28, 2001
9
US
Is there a replacement for a Canvas in Swing? Here is the issue:
I have a JInternalFrame the contains a JScrollPane. The JScrollPane contains a Canvas. Problem is when you resize the JInternalFrame the the Canvas will get larger to grow with the JInternalFrame, but never smaller. So once you have increased the size of the JInternalFrame then attempt to decrease the size, the Canvas remains large. I believe this may have to do with the entire canvas being displayed because the Canvas is Heavywieght and displays above the lightweight JInternalFrame. Any suggestions?
Thanks,
Cabaal
 
I sugest you try the forum at because Sun created Java and all Sun's top experts are there to help you. You will have to sign up as a member to use the forum because only members can post. Membership is free though. "and everything under the sun is in tune
but the sun is eclipsed by the moon." --Pink Floyd: Eclipse


"I'm going to spend eternity
reinstalling Windows." --Reinstalling Windows: by some British guy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top