users
[Top] [All Lists]

RE: [cinjug-users] JOptionPane button that reads "Accept"

To: "Jackson, Doug" <DOUG.JACKSON@xxxxxxxx>, users@xxxxxxxxxx, lajug@xxxxxxxxx, ocjug@xxxxxxxxx
Subject: RE: [cinjug-users] JOptionPane button that reads "Accept"
From: "Jeykumar, Nattamai S. (LNG-DAY)" <nattamai.jeykumar@xxxxxxxxxxxxxx>
Date: Fri, 28 May 2004 16:57:22 -0400
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [cinjug-users] JOptionPane button that reads "Accept", Jeykumar, Nattamai S. (LNG-DAY) <=