The Artima Developer Community
Sponsored Link

Java Answers Forum
making visible disabled JComponents

2 replies on 1 page. Most recent reply: Jun 23, 2004 2:15 AM by Pushpeswar

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Gibran Shah

Posts: 27
Nickname: gibby
Registered: Jun, 2004

making visible disabled JComponents Posted: Jun 18, 2004 12:18 PM
Reply to this message Reply
Advertisement
Hello everyone,

I'm just wondering if there's a way to set a JComponent to disabled (ie. Component.setEnabled(false)) without having its appearance greyed out. That is - conserve it's look & feel such that the user would not be able to tell it was disabled unless she clicked on it.

Gib


mausam

Posts: 243
Nickname: mausam
Registered: Sep, 2003

Re: making visible disabled JComponents Posted: Jun 23, 2004 12:23 AM
Reply to this message Reply
u can set system.properties.

http://home-1.tiscali.nl/~bmc88/java/sbook/061.html

Pushpeswar

Posts: 2
Nickname: eshwar
Registered: May, 2004

Re: making visible disabled JComponents Posted: Jun 23, 2004 2:15 AM
Reply to this message Reply
make use of diff frames for those with disabled without that component and use another for the one wiht enabled ok this may look shaby but the best way of making others feel diff. ok try to do this

Flat View: This topic has 2 replies on 1 page
Topic: a doubt in chapter 5 of Bruce Eckel's Textbook Previous Topic   Next Topic Topic: JSP Problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use