aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JLabel + GUI problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JLabel + GUI problem" Watch "JLabel + GUI problem" New topic
Author

JLabel + GUI problem

tony altaico
Greenhorn

Joined: Jan 31, 2009
Posts: 22
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: 19760
    
  20

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 - OCEEJBD 6
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: 10522
    
    9

http://forums.sun.com/thread.jspa?threadID=5364150&tstart=0


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4658
    
    5

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JLabel + GUI problem