Work with two-way schedule in java



  • In an attempt to use Graphics2D, NetBeans suggests that abstract methods be implemented from this class, how do methods not be implemented, but be able to rent objects?



  • Start JPanel, close the paint method (Graphics g) and change the type g:

    public void paint (Graphics g) {
        Graphics2D g2 = (Graphics2D) g;
        ...
    }
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2