| | |
Paint interface
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
| View Poll Results: Do you know how to use interfaces in JAVA? | |||
| Yeah, of course. | | 4 | 66.67% |
| Uhhh...no. | | 1 | 16.67% |
| Interwhaaa??? | | 0 | 0% |
| I don't program in JAVA, I'm just browsing/lost in the website. | | 1 | 16.67% |
| Voters: 6. You may not vote on this poll | |||
![]() |
How does one use an interface? The
¡Ayúdame, por favor!
paint interface in particular?¡Ayúdame, por favor!
Beware of the Rancor. I'm not kidding.
If it doesn't compile, try saying "By the power of MegaMan!!!" <this has kinda worked for me, actually...>
Scotland is NOT North Britain, Glasgow does NOT rhyme with "cow", and Robbie Burns is...well, if you don't already know who he was, you're kinda screwed.
If it doesn't compile, try saying "By the power of MegaMan!!!" <this has kinda worked for me, actually...>
Scotland is NOT North Britain, Glasgow does NOT rhyme with "cow", and Robbie Burns is...well, if you don't already know who he was, you're kinda screwed.
http://java.sun.com/docs/books/tutor...interface.html
That is what an interface is. Usually to use an interface you need to find an implementing class of that interface in the java api and or write your own.
For example, to obtain an implementation for the Paint interface, you would use the .getPaint() method in the Graphics2D abstract class.
To find out how to use Graphics2D, you can Google the numerous Java GUI tutorials.
That is what an interface is. Usually to use an interface you need to find an implementing class of that interface in the java api and or write your own.
For example, to obtain an implementation for the Paint interface, you would use the .getPaint() method in the Graphics2D abstract class.
To find out how to use Graphics2D, you can Google the numerous Java GUI tutorials.
One point for jwenting as there is no paint interface and one point for Ezzaral as there is Paint interface which can be found here.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
•
•
One point for jwenting as there is no paint interface and one point for Ezzaral as there is Paint interface which can be found here.
The posted question is extremely vague though, so I doubt much help is forthcoming.
Last edited by Ezzaral; Jul 18th, 2007 at 1:57 pm.
•
•
•
•
One point for jwenting as there is no paint interface and one point for Ezzaral as there is Paint interface which can be found here.

I'm quite aware of the existence of a Paint interface.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- trojans...now nothing opens and I get a paint can't open error (Viruses, Spyware and other Nasties)
Other Threads in the Java Forum
- Previous Thread: Array Sorting on a User Supplied Element
- Next Thread: How to generate a list of permutations for a given binary number
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application arc arguments array arrays automation binary bluetooth c++ chat class classes client code codesnippet component csv database doctype draw ebook eclipse error event exception fractal freeze game givemetehcodez graphics gui html ide image input integer intellij iphone j2me java java.xls javaprojects jni jpanel jtable julia linux list loop loops mac map method methods mobile netbeans newbie number online oracle page parameter plazmic print problem program programming project recursion reporting rotatetext scanner screen sell server set size sms socket sort sourcelabs sql string superclass swing system template test testautomation threads time title tree tutorial-sample windows working






