Canvas/Panel merge


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Canvas/Panel merge

  1. #1
    Andy Guest

    Canvas/Panel merge


    Background: Creating and applet/app to layout a 2D floorplan

    Query: Anyone know of a way to merge a canvas/panel with another one

    So far: Using Graphics2D I take a snapshot of both panes

    Panel 1 is a grid of points
    Panel 2 is the polygon drawing surface

    I'm muddling my way through this one, but I'd like a few suggestions :-)

  2. #2
    jbaumann Guest

    Re: Canvas/Panel merge


    "Andy" <andyonline@gmx.de> wrote:
    >Query: Anyone know of a way to merge a canvas/panel with another one
    >
    >So far: Using Graphics2D I take a snapshot of both panes
    >
    >Panel 1 is a grid of points
    >Panel 2 is the polygon drawing surface


    I've never done this, but have you considered using the "glass pane" of a
    JComponent such as a JFrame?



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center