brownie124
Programmer
I have written a fairly complex package that is a custom component. I am using 1.2. I have overridden the paint() method in a class. It calls a method of another class and passes on the Graphics parameter passed into the paint method. Drawing text and lines works fine. However, I go to draw an image and I am having problems. The image will not appear but in one area of the component. Even at that it doesn't appear the first time (I click in that area and it is supposed to appear). I have to click again for it to appear.
Anyway, is this enough for anybody to go on. There is so much code that it would be too difficult to figure out and put in here. Bottom line is, in what instances will something like g.drawString() work, but g.drawImage won't?
Thanks,
- Michael
Anyway, is this enough for anybody to go on. There is so much code that it would be too difficult to figure out and put in here. Bottom line is, in what instances will something like g.drawString() work, but g.drawImage won't?
Thanks,
- Michael