aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes setting border to Panel, how-to? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "setting border to Panel, how-to?" Watch "setting border to Panel, how-to?" New topic
Author

setting border to Panel, how-to?

Akshay Kumar
Ranch Hand

Joined: Feb 24, 2004
Posts: 37
hi,

i need to set border to Panel(AWT component) but i know that AWT Panel doesn't support this unlike JPanel.

anyone with the solution can extend their arms.

thanks.
Darin Niard
Ranch Hand

Joined: Jun 08, 2004
Posts: 118
Is there a particular reason that you can't use a JPanel?
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Here's a possibility. Let your imagination play and see what you come up with...
Akshay Kumar
Ranch Hand

Joined: Feb 24, 2004
Posts: 37
hi darin,

yeah, bcoz v r using applets to display it in browsers and restricted to use swings for that, here. thanks.

hi craig,

thanks a lot for such a good code and also the way v can use java by just in anyway. thanks, again.

bye bye
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting border to Panel, how-to?