Od niedawna uczę się Javy i mam problem.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Main
{
public Main()
{
// pusty konstruktor
}
public static void main(String[] args)
{
//
}
}
class FunctionGraph
{
public FunctionGraph(int fromX, int toX, int fromY, int toY)
{
this.fromX = fromX;
this.toX = toX;
this.fromY = fromY;
this.toY = toY;
}
public static void setBackgroundColor(Color backgroundColor)
{
this.backgroundColor = backgroundColor;
}
private static Color backgroundColor;
private static Color lineColor;
private int fromX;
private int toX;
private int fromY;
private int toY;
}