Grouping swing objects
Posted
by RenegadeAndy
on Stack Overflow
See other posts from Stack Overflow
or by RenegadeAndy
Published on 2010-05-24T18:47:25Z
Indexed on
2010/05/24
18:51 UTC
Read the original article
Hit count: 303
Hey.
I want to make an object I can add to my java swing application.
The object when instantiated would contain an image and 2 labels - is there a way to do this using java swing?
If there is - can you point me at an example.
I.e i want
Myobj icon = new MyObj(pic, label , label);
window.addComponent(icon);
Cheers
Andy
© Stack Overflow or respective owner