Search:

Type: Posts; User: aslanali555

Search: Search took 0.33 seconds.

  1. Re: Can't call "paint" method from other method

    //There is a class that draw the function of sinus.
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Graphics;

    public class Sinus extends Applet {

    public void paint(Graphics...
  2. Re: Can't call "paint" method from other method

    //There is a class that draw the function of sinus.
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Graphics;

    public class Sinus extends Applet {

    public void paint(Graphics...
  3. Re: Can't call "paint" method from other method

    I want to run "paint method" when I pressed "sinus button"
    But I can't call the "paint method" because.It wants the parameter(Graphics g).What I should write the parameter while I call the "paint...
  4. Can't call "paint" method from other method

    I am new member at this forum.
    I want to call "paint method" from other "actionPerformed method".
    It want to "Graphics g" parameter

    Codes are below.The problem is in "actionPerformed" method .I...
  5. Can't call "paint" method from other method

    I am a new member at this forum.
    I want to call "paint method" from "actionPerformed" method.
    It want to "Graphics g" parameter

    Codes are below.The problem is in "actionPerformed method".I...
Results 1 to 5 of 5