Results 1 to 2 of 2
Thread: Java Swing repaint
- 10-04-2010, 02:51 PM #1Member
- Join Date
- Oct 2010
- Rep Power
Java Swing repaint
I develop an image editor program, with java swing. There is a button for add/remove "pixel grid" (showing each pixels), I use here repaint() for redrawing the screen with pixel grid.
My problem is that it works in many PCs, but there is several, where this repainting is very slowly, it takes minutes.
I don't know what can be the problem...
Can anybody help, me?
- 10-04-2010, 02:59 PM #2
-- There's a bug in the code you haven't showed us
-- The Graphics driver isn't up to date
-- Anybody's guess
To get better help sooner post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem. Also post the hardware, OS and Java version information for the PCs on which you tested and indicate which of them experience the slowdown.
- By manojp476 in forum CLDC and MIDPReplies: 10Last Post: 08-12-2010, 03:12 PM
- By 3xpr1ment in forum AWT / SwingReplies: 10Last Post: 03-23-2010, 05:39 PM
- By dunafrothint in forum AWT / SwingReplies: 8Last Post: 01-07-2010, 12:33 AM
- By swimberl in forum Java 2DReplies: 1Last Post: 02-16-2008, 09:12 PM
- By swimberl in forum Java 2DReplies: 0Last Post: 01-06-2008, 03:28 AM