Results 1 to 3 of 3
Thread: Grapics =P
- 05-17-2011, 12:51 AM #1
Grapics =P
so ... i have a grapics class that paintsCompnent ...
my problem is this :
so ... when i paint the text with setfont there is some delay...Java Code:Font font = new Font("Helvetica", Font.BOLD, 14); public void paintComponent(Graphics g) { g.setFont(font); (DRAW STRINGS HERE) }
and when i dont set the font its super fast ... (just outcommect the setFont).. I really want it set a font ... is there a reason for this delay? =P
thanks =)
- 05-17-2011, 02:54 AM #2
Could post a small program the compiles and executes and demonstrates the problem?
- 05-17-2011, 03:15 AM #3
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks