Results 1 to 3 of 3
  1. #1
    BobZ is offline Member
    Join Date
    Feb 2009
    Rep Power

    Default 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 or 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 ?


  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    look into either JOptionPane.showXXX type calls (check out the API for details), or write to the console via System.out.println.

  3. #3
    BobZ is offline Member
    Join Date
    Feb 2009
    Rep Power

Similar Threads

  1. Using Applets built in GreenFoot?
    By sciguy77 in forum New To Java
    Replies: 0
    Last Post: 01-19-2009, 08:43 PM
  2. print without built functions
    By j2vdk in forum New To Java
    Replies: 19
    Last Post: 12-28-2008, 05:22 PM
  3. Replies: 2
    Last Post: 11-22-2008, 05:30 AM
  4. Netbeans built .jar for Mac
    By zobelogne in forum NetBeans
    Replies: 2
    Last Post: 11-03-2008, 04:54 PM
  5. Help! Need to randomly assign boxes
    By newb101 in forum New To Java
    Replies: 1
    Last Post: 09-16-2008, 10:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts