Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

Best way to create a speech bubble effect?

843805Nov 20 2005 — edited Nov 20 2005
Hi there,
I'm currently writing a simple game using java 2D, on screen i would like to show some text surrounded by a speech bubble which will be used to show what a character is saying. I need the text to be scrollable as there might be alot of it and dont want to clog up the screen.
Initially i wanted to create this directly on the JPanel im using but could not figure out how to add a scrollable text area directly onto a JPanel (if its even possible!).
So i thought just use a pop up text box that would already be scrollable, but how can i get a pop up to have the appearence of a speech bubble?
Any help or hints would be appreciated.

Many thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2005
Added on Nov 20 2005
2 comments
1,232 views