• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it possible to create a compound button in swing?

 
Aron Jhed Amiscosa
Ranch Hand
Posts: 118
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
compound button, or what ever you might call it, is it possible to create a button or group of buttons to look like this?



the said button should be able to act as individual buttons like,
button_north, button_center, button_south, button_east and button_west.

looking forward to possible hints on how to come up with the said component.
thanks in advanced.
 
Kocha Sapam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, to my knowledge, there is no *inbuilt* feature for such things in swing, but if you wish, we could try to implement one ourselves. Maybe myself

But I have Q. here, why do you want to implement this ? As a control for a kinda media player I guess ?
 
Kocha Sapam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've implemented one but am unable to upload it, javaranch aint allowing me.
 
Aron Jhed Amiscosa
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it is for a media player i'm trying to make.

i don't really need the code that you made, i just need at least the idea how you made it.

 
Kocha Sapam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh ? thats cool, and the idea behind is, well you better see the code I better upload it somewhere. And please download it, I really want to help...........
And one more request, if you have too much time, please help me on my bleeps project hosted at googlecode. Thanks.

Regards - Kocha

Edit : here is the app in zip http://loneapps.xtgem.com/compoundbuttons.zip
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!