Jump to content

Help with swing !

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts
Hey C.C !!
I have a small request for help !

I was wondering is it possible to change the title of a JOptionPane? Instead of getting boring "Message" Title, I know how to change icons but the title has been nagging on me for a while and now I need help. So please help out!
Thanks in advance ;)
Posted Image

#2
acwclassic

acwclassic

    Newbie

  • Members
  • PipPip
  • 25 posts
giving it 2 strings should work:
JOptionPane.showMessageDialog(frame,
"text",
"title",);

#3
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

acwclassic said:

giving it 2 strings should work:
JOptionPane.showMessageDialog(frame,
"text",
"title",);

Thank you :)
Posted Image

#4
morefood2001

morefood2001

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,720 posts

acwclassic said:

giving it 2 strings should work:
JOptionPane.showMessageDialog(frame,
"text",
"title",);

In the future, please use code tags:

JOptionPane.showMessageDialog(frame,

    "text",

    "title",);


#5
helplinelaw

helplinelaw

    Newbie

  • Members
  • Pip
  • 5 posts
That Good Suggetion for JoptionPane.

#6
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

leska said:

Please, read JavaDoc before!

Why would I do that? I don't want to do nor learn about doclets...
Posted Image

#7
reniery

reniery

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
No its not, JavaDoc is a tool for creating documentation for your program using comments from the source code

#8
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts
I lost tracks, anyways I have got what I needed to know. So thanks and laters all...
Posted Image