File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Internal Frame quirk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Internal Frame quirk" Watch "Internal Frame quirk" New topic
Author

Internal Frame quirk

Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
I'm enclosing some code I use to add a JInternalFrame containing components to a Frame. It looks okay but it looks like there is a frame underneath the JIF with the corners being sligtly covered. Picture a cardbard frame where the inner four corners are curved. Now place a perfect rectangle piece of paper over the frame. The piece of paper should be a nice fit but it will cover the curved corners.
This is what this frame is giving me.
Thanks for any help.
Paul
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Where's the code?


GenRocket - Experts at Building Test Data
Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
Oooops!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Yeah, that is not enough code. How about the whole thing? Or at least where you create the JFrame, JDesktopPane, and add the JInternalFrame to the DesktopPane.
Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
I'm afraid I've switched now to JPanels and all my JInternalFrame code is gone. Next time I'll know to send more.

Thanks!
----------------------
D d y v r f nd t wh t h pp n d t y r v w ls?
 
Don't get me started about those stupid light bulbs.
 
subject: Internal Frame quirk
 
Similar Threads
bitwise & operation on char variable
Can't understand complier error
addElement() vs. add()
Request hint
really disappointed by javaranch