The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Re: Scroll down in JOptionPane and window problems.

Look. Guy gets paid to design software. Boss is not going to be happy if, on deadline day, he only has it in JGrasp and not as a program customers can use.

Now get what I'm asking?

You don't study to write programs that'll only work in JGrasp. You study it to write programs so you can make them into programs that'll run as computer applications, like video games. How do you use the code to make it run outside of the code maker program as a program of its own?

Is it complicated or something?

I'm looking for a make into program button in JGrasp, but can't find one.

Re: Scroll down in JOptionPane and window problems.

I'm not talking about making it so others can use my code, well, I am but I'm not. In other words, let's say I used JGrasp to make a calculator. How do I get that calculator to run outside of JGrasp? i.e. the dudes who made Windows Calculator, how'd they get it as a separate application? I'm not asking how to make a calculator, just how to make software into software the users would normally see. I mean, where my code isn't showing in the background to the user.

Re: Scroll down in JOptionPane and window problems.

Do I have to have all of the handlers and exception classes that it uses all on there? I have them all on a flash drive. However, I have a big class file that s really big, and I'm wondering if it already contains all the button handlers and exception classes in it. If not, what do I do? How do I put it in the manifest file? I mean, do I put it as main, or what?

Re: Scroll down in JOptionPane and window problems.

what do I do about this problem?

The 'e' flag (for 'entrypoint'), introduced in JDK 6, creates or overrides the manifest's Main-Class attribute. It can be used while creating or updating a jar file. Use it to specify the application entry point without editing or creating the manifest file.

Also, should the package name be the name of the class or something different, or does it not matter if it is or not?