Ali Ashraf

Greenhorn
+ Follow
since Mar 30, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ali Ashraf

GUI
No the button cannot act as an event handler.
button is a component, it generates an event and a listener handel this event.
please look at Events and Listeners.
[ April 10, 2002: Message edited by: Muhammad Ali Ashraf ]
22 years ago
GUI
Dear smitha
try this code:code:

[ April 10, 2002: Message edited by: Cindy Glass ]
22 years ago
When i compile the sample out call, it compiled perfectly, but when i execute its class file, it throws a SecurityException.
How can i run this example???
22 years ago
Dear peter
u can access only final methods and variables in an anonymous class.
change yur code and try again!!!
22 years ago

Originally posted by Peter Phung:
i have a choice button and a JTextField in a GUI. When an item in the choice is selected, it is meant to appear in the textfield but doesn't.
Here is my code :

As far as i can tell my code is correct. This is very confusing

22 years ago