getGraphics() method does not exist for SplashScreen
Hello
I'm trying to use the SplashScreen Class. I have found a sample in the SDN article :http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/
It shows the following code :
SplashScreen splash = SplashScreen.getSplashScreen();
[b]Graphics2D g = (Graphics2D)splash.getGraphics();[/b]
Dimension size = splash.getDimension();
g.setComposite(AlphaComposite.Clear);
g.fillRect(0, 0, size.width, size.height);
g.setPaintMode();
Within theSplashTest sample , there is the same call to this method.
However, it seems that the getGraphics() method does not exist. Instead I have found another one called : createGraphics(). Has the method been renamed ?
Thanks

