New graphics for NetBeans 6.5

I updated the sources and built the IDE. New splashscreen, new wizards background is there...

Comments:

what is the equivalent of DrawingPanel in netbeans 6.5

import java.awt.\*;

public class Car {
public static void main(String[] args) {
DrawingPanel panel = new DrawingPanel(200, 100);
panel.setBackground(Color.LIGHT_GRAY);
Graphics g = panel.getGraphics();

g.setColor(Color.BLACK);
g.fillRect(10, 30, 100, 50);

g.setColor(Color.RED);
g.fillOval(20, 70, 20, 20);
g.fillOval(80, 70, 20, 20);

g.setColor(Color.CYAN);
g.fillRect(80, 40, 30, 20);
}
}

Posted by Nsiko Samuel on October 01, 2009 at 05:34 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Team blog of NetBeans Core and Platform Quality Assurance team

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today