Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
inactivate all components
Nikos Stavros
Ranch Hand
Posts: 243
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
is there a way to inactivate all components inside a panel without having to
write code to manualy disable each button
Jesus lives
Ben Zung
Ranch Hand
Posts: 109
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
...without having to write code ...
How would you do anything at all without writing somce code?
JPanel's getComponents() returns an array of components that have been added to it if it helps.
Becki Thomas
Greenhorn
Posts: 2
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You could set a glasspane to stop mouse events getting through to the components. See this link for an example
Root Pane Example
Nikos Stavros
Ranch Hand
Posts: 243
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
cheers for that
Jesus lives
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JMenu hides behind components
GridBagLayout - view grid lines
deleting old JDK
java beans
Session Timeouts - Websphere
More...