![]() ![]() |
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Member
Join Date: Jun 2008
Posts: 6
|
Hi all,
I'm developing a drawing tool using Java. This will support drawing diagrams ( basically electrical components in a network ). As the drawing panel ,i have uesd a JPanel within JScrollPane so that user can scroll their diagram. The origin of my drawing panel is the top-left corner of that JPanel.(as default) This will support rotating and many more facilities. I have got an issue with this rotating. For an example if user draw a one-line diagram (branch ) with few components connected in vertical direction and rotate it to be in horizontal direction ( if this diagram is much closer to left side of the JPanel ) then some of the components in the left side of that drawing will be hidden and i cannot scroll the panel into that negative direction. If anyone has an idea on how to archive a solution for this, it will be a great help. (Hope u guys understand the issue i explained above. if not, i can attach a screen shot of this ) Thanks a lot. Rgds, Darshana |
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|