Results 1 to 2 of 2
  1. #1
    Goughyy_ is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default Icon & JOptionPane

    Firstly I've been coding a mathematical collection of programs in Java. All of which solve problems in math easier than using a Calculator. But when the answer message is displayed in a JOptionPane i wanted to know if there was a way of removing the Icon seen to the left of the answer as shown below.

    Icon & JOptionPane-screen-shot-2012-04-21-17.42.02.png

    You can also see from the photo (above) that the Heading or Header on the JOptionPane just says 'Message' how do I change this to a custom message? Also going back to the Icon is there anyway of also adding my own Icon to the Complied .class file so when sent to other computers it is shown as the Icon not the Cup of coffee symbol?

    - Goughyy_

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

Similar Threads

  1. Add custom icon to JOptionPane
    By Return 0 in forum New To Java
    Replies: 12
    Last Post: 01-27-2012, 01:44 PM
  2. Adding another icon to an icon
    By whateverme in forum New To Java
    Replies: 11
    Last Post: 03-29-2011, 08:00 PM
  3. set.Icon
    By safiya in forum NetBeans
    Replies: 2
    Last Post: 10-17-2008, 06:46 PM
  4. icon
    By amith in forum AWT / Swing
    Replies: 1
    Last Post: 05-16-2008, 07:34 PM
  5. Changing icon of JOptionPane
    By mew in forum New To Java
    Replies: 3
    Last Post: 12-21-2007, 07:01 AM

Posting Permissions

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