File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Please help me on this Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Please help me on this Application" Watch "Please help me on this Application" New topic

Please help me on this Application

Demith Waruna Samaraweera

Joined: Sep 20, 2004
Posts: 4
Currently I am developing a application to load an image of map and to show the mobile customers on the map using GPS coordinates
I am using both J2SE and J2EE

The main problem with me is i am adding a JLabel into JScrollPane and load the image to the JLabel, using the ImageIcon

The problems are

1 When I am zooming the image the ScrollBars does not adjust accordingly
2 I cant set the origin of the ZoomLabel as my wish it always set to 0,0
3 I cant add the user defined coordinates to the image(GPS of Maps) and to devide them when the mouse move

Thnk you
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Sounds like you are doing some custom painting that requires more flexibility than JLabel was designed for. You could try making a custom graphics component
I agree. Here's the link:
subject: Please help me on this Application
jQuery in Action, 3rd edition