dcsimg
JPanel made not editable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 22, 2002 12:12 AM

I would like to know if there is a function that can make alll JPanels not editable, leaving only one JPanel working. Thanks.

Re: JPanel made not editable

Posted By:   ramanujam_ragavan  
Posted On:   Tuesday, May 28, 2002 12:47 AM

Hi,

I don't quite understand as to what you mean by a non-editable JPanel !!!!!! U Mean the Panel shouldn't respond to events, u can do event handling and check for the source's name using


if(.getSource() == thePanel)
{
// This is the one u want to work. So do something
}
else
{
// Do Nothing Here
}

Hope this helps

About | Sitemap | Contact