File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting border to Panel, how-to?

 
Akshay Kumar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a particular reason that you can't use a JPanel?
 
Craig Wood
Ranch Hand
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a possibility. Let your imagination play and see what you come up with...
 
Akshay Kumar
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic