| Author |
JLabel + GUI problem
|
tony altaico
Greenhorn
Joined: Jan 31, 2009
Posts: 20
|
|
Hello
I have a JLabel2 which shows the spanish map. The thing is I do wanna draw lines on my spanish map and save it to as an image file in my desktop . I'm able to draw lines and save my JLabel2(spanish map) as an image in my Desktop. The problem is I'm not able to see any lines that I draw before in my image file. I can see those lines when I do click draw button but I can not see them when I save my file as an image to my desktop.Please help me.This problem killed me for two days..you can see how i converted to icon and how i save it as an image file below.Thank you for your helps from now.
I have drawn lines by using draw function as you see below and I can not see those lines without any problem..Lines disapper in the image file when I do save it..Here is the draw button..
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Please Use Code Tags. It will make your code that much easier to read.
You can edit your post to add them.
Moving to Swing / AWT forum.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
pete stein
Bartender
Joined: Feb 23, 2007
Posts: 1561
|
|
|
BeForthrightWhenCrossPostingToOtherSites
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8430
|
|
|
http://forums.sun.com/thread.jspa?threadID=5364150&tstart=0
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4163
|
|
Also http://www.java-forums.org/java-applets/15472-jlabel-gui-problem.html
And tested the slangword filter to breaking point on the Sun forum.
Definitely not a gentleman (nor lady)
db
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: JLabel + GUI problem
|
|
|