User draws selection rectangle over components?
From: Andreas Schmidt (schmidt.2002_at_gmx.de)
Date: 11/22/03
- Next message: Thierry: "JTable"
- Previous message: David Postill: "Re: Titlebars of Frames"
- Next in thread: ak: "Re: User draws selection rectangle over components?"
- Reply: ak: "Re: User draws selection rectangle over components?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 Nov 2003 14:33:34 +0100
I have a JPanel with a bunch of JComponents inside. Now I want that the
user can drag the mouse over all of them and draw a selection rectangle
over them.
How do I do that? Do I have to use and implement the glassPane?
Isn't there a standard method? It's what every File Explorer does: There
are some Icons and you draw a selection rectangle to select some of
them... I can handle the selection later. Now I just want to draw the
selection rectangle.
Thanks!
Andi
- Next message: Thierry: "JTable"
- Previous message: David Postill: "Re: Titlebars of Frames"
- Next in thread: ak: "Re: User draws selection rectangle over components?"
- Reply: ak: "Re: User draws selection rectangle over components?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|