Re: add JPanel and JLabel on JButton
From: Harald Hein (speechless_at_gmx.de)
Date: 12/13/03
- Next message: Harald Hein: "Re: Outlookstyle Side Bar"
- Previous message: Harald Hein: "Re: Swing and OLE"
- In reply to: Robert Ludewig: "add JPanel and JLabel on JButton"
- Next in thread: Andrew Thompson: "Re: add JPanel and JLabel on JButton"
- Reply: Andrew Thompson: "Re: add JPanel and JLabel on JButton"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Dec 2003 15:30:24 GMT
"Robert Ludewig" wrote:
> I need to to rather complex layouting on a JButton. I didn`t find
> a way to do that with html-formatting.
> How could I make a Jbutton capable of taking JPanels and JLabels ?
> I porbally have to subclass JButton ... (?) But how do I add this
> kind of functionality? What methods do I need to override and what
> should I put there ?
The whole thing sounds like a rather dump idea. You want to place
components on a JButton? Why? Are you going for the prize of the most
messed up GUI?
- Next message: Harald Hein: "Re: Outlookstyle Side Bar"
- Previous message: Harald Hein: "Re: Swing and OLE"
- In reply to: Robert Ludewig: "add JPanel and JLabel on JButton"
- Next in thread: Andrew Thompson: "Re: add JPanel and JLabel on JButton"
- Reply: Andrew Thompson: "Re: add JPanel and JLabel on JButton"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]