Bug 335160 - when running GUI, i get either partial image or no image
Summary: when running GUI, i get either partial image or no image
Status: VERIFIED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-01-24 04:34 EST by antare goh CLA
Modified: 2011-01-25 11:01 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description antare goh CLA 2011-01-24 04:34:35 EST
Build Identifier: 3.2.2

I'm aware that it's possible for eclipse to paint a gui on one machine but not another. I developed a game at my school and worked fine there but not at home using version 3.2.2. That's fine and no problem. The issue however, is that I developed a different game here on this machine using 3.2.2 and all i get is a black background screen and no images. In other words, I'm not running it on a different version or anything.
Thanks for help

Reproducible: Always

Steps to Reproduce:
1.Ran it on other IDE's and it worked
2.
3.
Comment 1 Ayushman Jain CLA 2011-01-24 04:50:26 EST
The bug report is not sufficient for us to figure out the exact problem. Can you please specify the exact issue that you're facing that makes you think its an eclipse bug and not a problem in your application?

What do you mean by - "it's possible for eclipse to paint a gui on one machine but not another"? If you're writing a java application, its not eclipse thats running it, but the JVM. Unless you're using native libraries, you'd be able to run the same app on all machines.

Please get back with detailed steps to reproduce the problem, and also what exact issues you face(along with error messages, if any).
Comment 2 antare goh CLA 2011-01-24 05:40:42 EST
No error messages. When I compile and run a GUI program I get a black screen and no other images. In other words, a constructor call to for example;

Player player1 = new Player(5, 150, 10, 50, Color.RED, "Images/left.jif");
produces no image of the left.jif, just a black screen.

Thanks
Comment 3 Ayushman Jain CLA 2011-01-24 05:43:45 EST
Can you please attach your project, if possible?
Comment 4 Olivier Thomann CLA 2011-01-24 11:29:11 EST
I don't think this is related to Eclipse. How are you loading your image ?
Are you using SWT ? AWT ? Swing ?

I will close as NOT_ECLIPSE. I think you should use the jdt forum for help on this issue.
Comment 5 Srikanth Sankaran CLA 2011-01-25 11:01:37 EST
Verified for 3.7 M5