• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create own Swing Component?  RSS feed

 
Simeon Shi
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to create a set of my own Components which appear quite different to the normal.
How could i do?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way I would suggest is find Swing Components that have similar functionallity that yours will have and just override the paint() method in that components to make it appear however you desire.
Let us know when you get some new components. I'd like to see what you come up with. I have tried this in the past, however, I quickly learned that I am not that good. Creatively and programmably.
Good Luck.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!