Search:

Type: Posts; User: lewvan00

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    3,546

    Re: How overloaded paint() works?

    I should apologize for you.I am so dazed

    Actually ,you can directly draw in the Frame object.
    the code has been amended


    import java.awt.*;
    import javax.swing.*;

    public class rago...
  2. Replies
    5
    Views
    3,546

    Re: How overloaded paint() works?

    Hi maikeru .

    you have made some mistakes that the Frame is a container ,you can't directly put something non-component in it.
    For your sample,you should first create a panel object that hava...
Results 1 to 2 of 2