• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Please help me on this Application  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
I was born with webbed fish toes. This tiny ad is my only friend:
java tutor first lesson for free
https://coderanch.com/t/702613/java-tutor-lesson-free
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!