阅读背景:

如何创建使用将类中的方法绘制到另一个类的JPanel中

来源:互联网 

I have 2 classes, one class is my GUI frameviewer. The other is a class that I am trying to use with my project. The class LabeledBar provides a draw method. I will have an ArrayList of the LabeledBars in my FrameViewer class. I want to iterate through that list and create a new Panel holding these bars. I can't quite figure out how to draw these bars onto that frame.I have 2 classes, one class is my GUI frameview




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: