Jason,
You can try this option.
http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html#butto
n
-Jey
-----Original Message-----
From: Jackson, Doug [mailto:DOUG.JACKSON@xxxxxxxx]
Sent: Friday, May 28, 2004 4:12 PM
To: users@xxxxxxxxxx; lajug@xxxxxxxxx; ocjug@xxxxxxxxx
Subject: [cinjug-users] JOptionPane button that reads "Accept"
I need help on how to change the default "OK" button
in a JOptionPane to "Accept" text.
Can anyone help? The code I have is below and
this code defaults to an "OK" button. I need
a button here thats says, "Accept"
JOptionPane.showMessageDialog(null, "NOTICE \n" +
"You are entering my Java program.");
What is the correct syntax to make the button text "Accept" ??
---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx
--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx
|