Search:

Type: Posts; User: harshendushridhar

Search: Search took 0.12 seconds.

  1. Re: Printing two rectangles on same Frame in Java

    with the help of this FlowLayout both of the rectangles gone..... Nothing is there on frame now.
    Can you please help me in compiling this at your end and help me in correcting the code if possible...
  2. Re: Printing two rectangles on same Frame in Java

    shridhar java.awt.Rectangle[x=0,y=0,width=624,height=444]

    This is what i am getting on console after putting your statement in paintComponent function.
  3. Re: Printing two rectangles on same Frame in Java

    1984

    sent you the screenshot
  4. Re: Printing two rectangles on same Frame in Java

    HI Norm ,

    Yes the first rectangle getting hide and another one is displaying for which i have used the different coordinates.
  5. Re: Printing two rectangles on same Frame in Java

    okay give me a min

    --- Update ---



    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Graphics;
    import java.awt.event.WindowAdapter;
  6. Printing two rectangles on same Frame in Java

    Hi All,

    Please help me in getting the both of the rectangels printed on the screen as in my code i am accesing one excel sheet into 2D array and want to print the rectangles equals to number of...
Results 1 to 6 of 6