-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b10
-
generic
-
generic
-
Verified
Bug Info:
=========
I inserted a button component with some action in disabled textpane.But the button appears as enabled and if i press on the button then it fires the action.
I expected the following behavior.
The button component shouldn't fire an action and it shouldn't appear as enabled in disabled textpane.
JDK Info:
=========
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b81)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b81, mixed mode)
Steps to Reproduce:
===================
1. Download the attached code.
2. Run the app.
3. Now click on the button.
Please find the attached code snippet for reproducing the scenario.
=========
I inserted a button component with some action in disabled textpane.But the button appears as enabled and if i press on the button then it fires the action.
I expected the following behavior.
The button component shouldn't fire an action and it shouldn't appear as enabled in disabled textpane.
JDK Info:
=========
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b81)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b81, mixed mode)
Steps to Reproduce:
===================
1. Download the attached code.
2. Run the app.
3. Now click on the button.
Please find the attached code snippet for reproducing the scenario.