*
The moose likes Swing / AWT / SWT and the fly likes need help: formated text + background image + JScrollPane + Swing + LayoutManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "need help: formated text + background image + JScrollPane + Swing + LayoutManager" Watch "need help: formated text + background image + JScrollPane + Swing + LayoutManager" New topic
Author

need help: formated text + background image + JScrollPane + Swing + LayoutManager

Peter Siemens
Greenhorn

Joined: Dec 06, 2003
Posts: 1
Hi I want to display a help window with Swing, this window should display a formated text with an image in the background and an "OK" Button down under to close the window, furthermore I need a Scrollbar to scrolldown the text.
At the moment I use an JEditorPane to load an HTML formated file which includes the background image in the source (bad because I would like to change the image by a parameter from Java). I couldn't get this working in connection with a LayoutManager to add the button.
I hope you could help me with this problem, maybe with some code too ...
Thanks
gnurl
Here the code as at the moment:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help: formated text + background image + JScrollPane + Swing + LayoutManager