Humm I do not quite get it...
Why don't you just get a reference the panel object and call it's
paint/repaint. methode....?????
Don't read everything you believe.
----------------------------------------------------------------
VVeB : triple Ws dot audiophile dot com slash wrick
|V|@!l : wrick at audiophile dot com
---------------------------------------------( Eric Dofonsou )--
On Tue, 26 Oct 1999, Tolga Sakman wrote:
> Hello All,
>
> I am developing a swing application where the main frame is divided into 3
> panels, w/ the following architecture:
>
> MainFrame (JFrame w/ BorderLayout)
> |
> |--ToolsPanel (JPanel, on the WEST)
> |
> |--StatusPanel (JPanel, on the SOUTH)
> |
> |--GraphicsPanel (JPanel, on the CENTER)
>
> I need my paint method to target the GraphicsPanel, but I -apparently- am
> not able to do that, since I do not see any frames when I include the paint
> method, and the shapes are drawn on the absolute JFrame. Can anybody tell me
> how to reference this specific panel? Do I need to have a Canvas object to
> draw on?
>
> Thanks,
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Tolga Sakman
> Project Engineer
>
> Analytic & Computational Research, Inc. -- ACRi
> Cincinnati, OH
> Phone: 513-794-0888
> Fax: 513-794-9779
> [EMAIL PROTECTED]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".