






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







(Java)
Steps Required to Set Up Event Handling for a GUI Component
JTextField txtF; JRadioButton italicB; JRadioButton boldB; JRadioButton italicBoldB; JRadioButton plainB;
JComboBox jcb; JLabel label; String names[]={"cross.gif","ball.gif","hand.gif","help.gif"}; Icon icons[]={new ImageIcon(getClass().getResource(names[0])), new ImageIcon(getClass().getResource(names[1])), new ImageIcon(getClass().getResource(names[2])), new ImageIcon(getClass().getResource(names[3]))};