GUI JAR Image 'tearing' in Windows
Hi all,
I'm a bit of a novice in Java, and have been basically learning as I went along while programming a visualization GUI with Swing. I've been surprised with how relatively smooth development has gone (I think mainly because I'm using Eclipse) on my Linux machine.
Basically, my GUI displays 2 images: on the first, it draws some points at certain coordinates (given as input) on a map (a loaded .png resource) and for the second, it displays a zoomed-in picture of the region containing those painted coordinates and the map.
The program works great on my Linux machine, running from either eclipse or a runnable JAR, but I gave the GUI .jar to a person who ran it in Windows, and the zoom image component will 'tear' the zoomed-in image, or display a white image on some but not all of the outputs. I ran my application directly from Eclipse on my Windows computer and it worked perfectly fine, but when I created a runnable JAR from the project, it gave the same error-prone results as before. In both cases where this bug occurred, the images that were torn or corrupted resulted from the same input, so the problem is not random, and is absolutely reproducible.
Summarily, it appears that this problem only occurs when running a Jar of the application in Windows, and nowhere else so far... has anybody ever heard about or seen this before?
Re: GUI JAR Image 'tearing' in Windows
Re: GUI JAR Image 'tearing' in Windows
Quote:
Originally Posted by
omid128
ur answer is here work with this java pattern
first read it's document
it's open source :
[url removed]
Do tell, how does J2EE have anything to do with the question at hand?
Re: GUI JAR Image 'tearing' in Windows
could you post your code? It's pretty hard for us to help you figure out what's going on without it.
Re: GUI JAR Image 'tearing' in Windows
Quote:
Originally Posted by
copeg
Do tell, how does J2EE have anything to do with the question at hand?
Nothing at all, the poster is just a common garden-variety spammer, along with its co-spammer john.stalin.java
(http://www.javaprogrammingforums.com...searchid=10807)
db
Re: GUI JAR Image 'tearing' in Windows
Quote:
Originally Posted by
Darryl.Burke
That was my hunch
Re: GUI JAR Image 'tearing' in Windows