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 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