Line drawing in Panel Figure [message #160143] |
Thu, 02 December 2004 12:41  |
Eclipse User |
|
|
|
Originally posted by: jsk_lam.hotmail.com
Hi
I use a Panel as a composite figure to host an Image and a Label.
Now, I need to draw a rectangle box inside the pandel with a '+' or '-'
to indicate the expand and collapse states:
---- ----
| + | | - |
---- ----
The little rectangle box need to behave as a hot spot, so the user
can click on it and a notification message will be sent and received
by the program to take appropriate action.
Can someone please provide help on this?
Thanks,
slam
|
|
|
Re: Line drawing in Panel Figure [message #160964 is a reply to message #160143] |
Wed, 08 December 2004 01:07  |
Eclipse User |
|
|
|
Use a toggle button. BTW, a label can have both text and an icon. So, you
might not need another ImageFigure.
"slam" <jsk_lam@hotmail.com> wrote in message
news:conk49$7s3$1@www.eclipse.org...
> Hi
>
> I use a Panel as a composite figure to host an Image and a Label.
> Now, I need to draw a rectangle box inside the pandel with a '+' or '-'
> to indicate the expand and collapse states:
>
> ---- ----
> | + | | - |
> ---- ----
>
> The little rectangle box need to behave as a hot spot, so the user
> can click on it and a notification message will be sent and received
> by the program to take appropriate action.
>
> Can someone please provide help on this?
>
> Thanks,
> slam
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.11920 seconds