How do I get the Java graphical interface program to start without a console window?

Source: Internet
Author: User
Tags interface window
Program | control | Graphic WATER-deficient dolphins have written an article about how to invoke Java in C + +.

Very well written, thank you!

It is mentioned in the article that

Java cross-platform features make Java more and more popular with developers, but also often hear a lot of complaints: the Java developed Graphical User window interface every time in the launch of a console window, the console window makes the original very good interface pale. How can the GUI program that is developed through Java not eject the Java console window?

There is a secret (which is not mentioned in the JDK documentation) that can be used to solve this problem simply. If you want to run the Java graphical interface program, you do not have to bother to write a program, as long as the javaw.exe instead of Java.exe run Java programs, there will be no console window.


Originally want to leave a message on his blog, no Nai grasshopper June engaged in a what evaluation card, must have a token in hand to evaluate, make the card, evaluation on the evaluation of it, think the comment does not matter, because no score, the results found still not. I can only comment on myself here.

Grasshopper June said is imitation Slashdot, I do not know what Slashdot is, but I think the freedom of comment also blocked, really not blog spirit, only feel suffocated. It's not a technical problem, it's not a matter of ability, it's a matter of thought, so I don't want to
Originally wanted to put here as my development technology weblog, want to do a good job, it seems not, do not know where there are more developers blog community.

Perhaps this article is the epitaph of this blog.

Update: Let me more discouraged is that the time has also been not smooth, to paste things and said that security is not allowed, the final submission told me to time out, retry two times after found more than two, and had to delete. Oh, I'm sorry, I'm using Firefox. I think the user experience is the most important thing, the things that come from the cattle net are not always comfortable here.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.