Results 1 to 1 of 1
  1. #1
    Jyo
    Jyo is offline Member
    Join Date
    Nov 2009
    Posts
    7
    Rep Power
    0

    Default using awt inside an swt component

    Hello Everyone,

    I am working on eclipse rcp application. I created my own plugins with views. In my plugins code I developed gui using swt where as for my canvas I used awt. I added awt inside my swt app. In one of my plugin canvas I created a quilt in which I divided my quilt into few rows and columns depends on the user selection. I am using rubber banding technique to selct some of my rows and columns. I am going to show you my attachment to get some good idea of what I am talking about. I used some of the mouse events like mouse pressed, mouse dragged and released. I want to capture my block to see if the block is selected or not. I am just thinking I have to have the index of each and every block to see If my block is selected or not. When I am dragging my mouse to select the block it's not selecting the way I want. If anyone has any idea of it, could please direct me to the correct idea or correct direction I really appreciate your help.

    Thank you,
    Jyothi
    Attached Thumbnails Attached Thumbnails using awt inside an swt component-block-selection.jpg  

Similar Threads

  1. Navigation inside a webpage...?
    By JavaStudent23 in forum New To Java
    Replies: 1
    Last Post: 03-27-2010, 11:54 AM
  2. Component to use ?
    By pbaudru in forum AWT / Swing
    Replies: 2
    Last Post: 02-17-2010, 09:55 AM
  3. add component to component
    By Omarero in forum New To Java
    Replies: 7
    Last Post: 05-17-2009, 02:39 PM
  4. string inside of a xml
    By Heather in forum XML
    Replies: 2
    Last Post: 03-28-2008, 05:21 PM
  5. Class inside an Interface
    By $hr!k@nt in forum New To Java
    Replies: 1
    Last Post: 12-21-2007, 10:56 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
  •