Here is the referance image I've been using.
so add it to the same folder with the .java files and add
Image frameImage = new ImageIcon(getClass().getResource("Images/Icon.gif")).getImage();
right after
JFrame jf = new JFrame("ScratchJava");
and
jf.setIconImage(frameImage);
right after
jf.setExtendedState(Frame.MAXIMIZED_BOTH);
Last edited by poopo (2012-03-19 11:54:59)
Offline
Could I be an understudy or whatever? I don't want many jobs (some) but I want to go through the process of this, please.
Offline
ProgrammingFreak wrote:
Could I be an understudy or whatever? I don't want many jobs (some) but I want to go through the process of this, please.
Sounds great! I doubt we will have a finished product (especially if I'm on the team XD)
but it is a great learning experience.
Offline
poopo wrote:
ProgrammingFreak wrote:
Could I be an understudy or whatever? I don't want many jobs (some) but I want to go through the process of this, please.
Sounds great! I doubt we will have a finished product (especially if I'm on the team XD)
but it is a great learning experience.
xD
Do you know of some lighter-weight java compilers I can use on this laptop without taking up much room? I have one on another computer, but its not working right now.
Offline
Because I've only ever used Netbeans I don't know about other compilers weight but I'll give you some names.
The plain old JDK is the lightest but you'd have to use notepad.
Glassfish(idk)
IntelliJ IDEA(idk)
Eclipse(idk)
Netbeans(Heavy)
Offline
poopo wrote:
Because I've only ever used Netbeans I don't know about other compilers weight but I'll give you some names.
The plain old JDK is the lightest but you'd have to use notepad.
Glassfish(idk)
IntelliJ IDEA(idk)
Eclipse(idk)
Netbeans(Heavy)
Okay I'll check em out.
Do we have a download for this yet?
Offline
ProgrammingFreak wrote:
poopo wrote:
Because I've only ever used Netbeans I don't know about other compilers weight but I'll give you some names.
The plain old JDK is the lightest but you'd have to use notepad.
Glassfish(idk)
IntelliJ IDEA(idk)
Eclipse(idk)
Netbeans(Heavy)Okay I'll check em out.
Do we have a download for this yet?
This is the latest download but it's not completly up to date.
Here is the latest jar.
Last edited by poopo (2012-03-19 12:16:07)
Offline
Javac isn't working D:
Offline
poopo wrote:
Here is the referance image I've been using.
so add it to the same folder with the .java files and addCode:
Image frameImage = new ImageIcon(getClass().getResource("Images/Icon.gif")).getImage();right after
Code:
JFrame jf = new JFrame("ScratchJava");and
Code:
jf.setIconImage(frameImage);right after
Code:
jf.setExtendedState(Frame.MAXIMIZED_BOTH);
Okay will do
Offline
gives me this error
run:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:181)
at MainIDE.<init>(MainIDE.java:9)
at MainIDE.main(MainIDE.java:84)
Offline
It seems you're missing the icon image required?
Offline