Skip to main content

How to get graphics from java.awt.Component??

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2011-05-31

Hi I am using rapidminer it is giving me java.awt.component
from this component how can i get graphics
component.isDisplayable() is true
Graphics graphics1= Component.getGraphics();
graphics returns null