locked
How to draw lines,rectangle paritially on image & JLabel?? RRS feed

  • Question

  • I m doing project in java swing.
    I have a  JLabel on which i have have added image (with .png extension) which is again embede in JLabel at the center of Parent JLabel. Now i wnt to add line/rectangle which will be partially on Parent JLbel & on image(which is also embedded in JLabel). Currently i m can draw a line&rectanle either on image or on Parent JLable. but i m not able to draw a same line on both.............
    How to do this??
     
    Wednesday, April 1, 2009 6:11 AM