DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  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?



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links