| Author |
Adding glassPane to a particular Panel in the window
|
karthik devkam
Greenhorn
Joined: Jan 15, 2002
Posts: 4
|
|
In a window I have more than one panel , In that situation I want add glasspane to a particular panel, it is not possible the entire window will be covered by the glass pane. Is it possible to set the glass panel for a particular panel in a window. If so, Please send the sample code thanks in advace
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
karthik, Please re-register with a new user name that follows the conventions in the JavaRanch UserName Convention... User names are required to be in the format "First Name" + space + "Last Name" and they can not be obviously fake. Thank you, -Nate
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
In an answer to your question, no... the glass pane is for the whole frame. However, you can fake it by only acting on events within the bounds of the Panel you want the glass pane to affect and passing the rest of the events through. -Nate
|
 |
 |
|
|
subject: Adding glassPane to a particular Panel in the window
|
|
|