• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help me on this Application

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic