Results 1 to 3 of 3
- 02-06-2009, 04:57 PM #1
Member
- Join Date
- Feb 2009
- Posts
- 2
- Rep Power
- 0
Built-in User Popup message boxes ?
I want to display a quick popup box with some hard-coded text, in a different classes, just to make sure the code is getting there.
It'd be great if there was a one-liner like : UserMsg.Popup("Your text here");
Are there any built-in System.xxx or Popup.xxx utilities that i can call ?
Or do i have to write my own ?
All my search attempts haven't uncovered anything yet, maybe i'm using the wrong keywords.
This isn't an applet, so i can't use the "Alert" or "Confirm" calls, or can i ?
I'm writing Java, Java 6, in an Eclipse platform.
If so, what do i need to import ?
thankx
-
look into either JOptionPane.showXXX type calls (check out the API for details), or write to the console via System.out.println.
- 02-06-2009, 06:23 PM #3
Member
- Join Date
- Feb 2009
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Using Applets built in GreenFoot?
By sciguy77 in forum New To JavaReplies: 0Last Post: 01-19-2009, 08:43 PM -
print without built functions
By j2vdk in forum New To JavaReplies: 19Last Post: 12-28-2008, 05:22 PM -
[SOLVED] Using dialog boxes and switch statements question
By hungdukie in forum New To JavaReplies: 2Last Post: 11-22-2008, 05:30 AM -
Netbeans built .jar for Mac
By zobelogne in forum NetBeansReplies: 2Last Post: 11-03-2008, 04:54 PM -
Help! Need to randomly assign boxes
By newb101 in forum New To JavaReplies: 1Last Post: 09-16-2008, 10:57 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks