Results 1 to 3 of 3
  1. #1
    SpaceY is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Default Canvas Image popups another image (SWT)

    I am having trouble creating a simple shell that as an image in a canvas. This canvas is set to like 250,250 in size. When you only double click on the canvas, another shell pops up (with the same image) in the max size of of image. If the image is bigger than the screen resolution then add vertical and/or horizontal scroll to that window. And for the images to properly dispose.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,271
    Rep Power
    25

    Default

    What is the trouble you are having? Can you post your code?

  3. #3
    Seoplanner is offline Member
    Join Date
    Nov 2008
    Posts
    3
    Rep Power
    0

    Default

    Hi,

    Makes such a image in a canvas shouldn't be hard if you take step-by-step approach.

    I see the following features:
    1. Scrolling-bars-free page with a big image;
    2. Hotspots with popups;
    3. Sliding menu;
    4. Mini-map;
    5. Scrolling with mouse wheel;
    Last edited by Seoplanner; 11-11-2008 at 01:46 PM.

Similar Threads

  1. how to save image as jpg?
    By katie in forum New To Java
    Replies: 4
    Last Post: 04-15-2010, 10:07 AM
  2. Add an image to JFrame
    By Eranga in forum AWT / Swing
    Replies: 4
    Last Post: 02-01-2010, 03:09 PM
  3. Visualizing an image on Canvas
    By a_klasanov in forum CLDC and MIDP
    Replies: 2
    Last Post: 08-01-2008, 10:25 AM
  4. Replies: 0
    Last Post: 01-08-2008, 05:29 PM
  5. Help with load image
    By trill in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •