Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to open url from string on JOptionPane?

807600Jul 24 2007 — edited Jul 25 2007
hello there
i've made a JOptionPane that contains a string url
and i'm wondering if it is possible to add MousMotionListener
to the url and if it is possible to open that url in the default Browser?
JOptionPane.showMessageDialog(null, " Visit us at www.google.com" ,"Visit us",JOptionPane.ERROR_MESSAGE);

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 22 2007
Added on Jul 24 2007
19 comments
1,634 views