|
|
|
|
|
by leftbit
1572 days ago
|
|
Oh, yes, the details are critical. Once inherited a 2D graphic editor... so slow it was totally useless. After tinkering a bit I noticed coordinates were sometimes 'long', sometimes 'Long'... gazillions of automatic boxing and unboxing operations resulted in a severe performance penalty. But the original developer didn't figure this out, tried to fix the problem by adding some multithreading on top... and of course botching it. Introduced some sensible data types, got rid of the multithreading and it really got smooth... |
|
Is swing still developed and is there any reason I should pick JavaFX over Swing?