-
changing a .java file to show new image
I would like to put a new image in a .java file that calls a image. I also would like to know how you create .class files. I downloaded a compiler. I thinks this is what does it but I could not find the javac.exe or javac_g.exe files. I also couldn't find the classes.zip file anywhere. Could explain?
thank you here is the code for .java file:
public class DefaultLogoImage
implements LogoImageInterface
{
public DefaultLogoImage()
{
}
public int[] getImage()
{
return _pix;
}
private static int _pix[] = {
84, 80, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, 0xfff1f1f1, 0xfffcfcfc, 0xfffbfbfb, 0xfff8f8f8,
-1, -1, 0xfffbfbfb, -1, 0xffeeeeee, 0xfffdfdfd, -1, 0xfff4f4f4, 0xfffefefe, -1,
0xfff9f9f9, 0xfffdfdfd, 0xfffafafa, 0xfffbfbfb, -1, 0xffe8e8e8, -1, 0xfff7f7f7, 0xfff1f1f1, -1,
0xffebebeb, 0xfffdfdfd, -1, 0xfffbfbfb, -1, -1, 0xfffdfdfd, 0xfffefefe, 0xfff4f4f4, 0xfffefefe,
-1, 0xffefefef, 0xfffcfcfc, -1, -1, 0xfffdfdfd, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 0xfffdfdfd, 0xfff9f9f9, 0xfffefefe, 0xfffefefe, 0xfffafafa, -1, -1, -1,
0xfffbfbfb, 0xfffafafa, -1, 0xfff7f7f7, -1, -1, -1, 0xfff8f8f8, 0xfff2f2f2, -1,
-1, 0xffededed, -1, 0xfff6f6f6, -1, -1, -1, 0xfffafafa, -1, -1,
0xfffbfbfb, 0xfffefefe, -1, 0xfff7f7f7, -1, 0xfff9f9f9, 0xfffdfdfd, 0xfff8f8f8, 0xfff7f7f7, 0xfffafafa,
-1, -1,
};
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks