No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i am trying to draw an arrowhead at the mid point of a line. say the point is (x,y). can anyone tell me how to do this. the line could be curved. it should also point toward either of the end points |
|
i am working with a JTabbedPane and am facing a problem. i want to change the title of a tabbedpane. i am using the setTitleAt() method. however there is no change in the top corner where the name of the tab is displayed. however when i am using getTitleAt() method … |
|
im trying to draw a curved line using mouse. there are three points on a straight line. a starting point, an ending point and a point in between. i want to draw a curved line by dragging the middle point in any direction. the other two points remain constant. |
|
i have written a program in which i am drawing using a mouse. however while drawing a new line the previous ones are still being shown. i have called repaint every time the mouse is moved. Can anyone please help. |