I am actually playing with some graphical element editor, and i am trying to
connect two swing components derived from JLabel with a

selectable "Line-Element" which has no shape.

Actually i am using a derivation of a JPanel which does only draw a line
(g.drawLine()) from one edge to the diagonal one. This works fine, but the
rectangular shape of the JPanel (or any other Swing or AWT-Comonent i am aware
of restricts the slection of two closly diagonal parallel connection.

\ \
 \ \
  \ \
   \ \
    \ \

The shape of the one does almost cover the other one.

Is there any other possibilty to solve such "Connection"-components ?


Rainer

===========================================================================
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".

Reply via email to