Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Draw lines over background's image, save image & edit lines

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am developing an application where we have an requirement to set background image (for ex. screen shot of Google map), we want to allow user to draw a line or rectangle on top of map to show travel direction and also allow them to move line on map until they freeze image version.

User will be uploading background image that will be store in database as BLOB object, since we need to allow them to come and edit whatever lines or rectangle they drawn on map, we will have to store that information somewhere( I think database will be right place to store coordinates), please suggest the best way to do this.

We have to developed this as an Java Applet so that we can embed this within html. The place where we need to embed this applet , we are developing that application in Oracle APEX 4.0. Please tell me if you need any further information.

I am not exactly sure how to approach this. Any guide/direction will be greatly appreciated.

Thanks & Regards,

Posts: 11445
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Check out
Notice the paintComponent method. You need to use the same to draw the lines. Check out the Graphics class for appropriate methods
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic