View Single Post
  #4 (permalink)  
Old 05-18-2008, 08:33 AM
acwclassic's Avatar   
acwclassic acwclassic is offline
Newbie
 
Join Date: Mar 2008
Location: sweden
Posts: 25
Credits: 26
Rep Power: 3
acwclassic is on a distinguished road
Default Re: make swing JRadioButton unchangeable

solved it in another way but have another question still=)

when a textfield is setEnabled(false) in java it changes color to ligthblue, and the color becomes unchangeable. (setForeground dosnt work)
i want the textfield to have a more "readable" color. so i search for eigther a way to change the color OR a way to make the unaccesible for the user without using any of the Enabled or setEnabled commands.

Thx
Reply With Quote