Creating First Java Swing GUI Application with IntelliJ IDEA IDE

Java

Video is ready, Click Here to View ×


In this Video I am going to show How to Create First Java Swing GUI Application with IntelliJ IDEA IDE (Quick Tutorial). So you will see How do I create a new Swing app in IntelliJ IDEA IDE. The Swing GUI Designer from JetBrains is really easy to use. IntelliJ IDEA form designer can be used to create Java Swing: A Hello World GUI App. We do not need to install any IntelliJ IDEA plug-in for that. Create a Basic Hello World Application from scratch. Java Swing GUI Application with IntelliJ…

41 thoughts on “Creating First Java Swing GUI Application with IntelliJ IDEA IDE

  1. every time i try to learn java, errors only errors….
    same program all the same and not working 🙁

    Exception in thread "main" java.awt.IllegalComponentStateException: contentPane cannot be set to null.
    at javax.swing.JRootPane.setContentPane(JRootPane.java:621)
    at javax.swing.JFrame.setContentPane(JFrame.java:698)
    at com.codebind.App.main(App.java:23)

    great work – C# works better

  2. Thanks for the video!

    But I'm getting these error messages:

    Exception in thread "main" java.lang.NullPointerException
    at com.calcMatrix.MatrixCalculator.$$$setupUI$$$(MatrixCalculator.java)
    at com.calcMatrix.MatrixCalculator.<init>(MatrixCalculator.java:15)
    at com.calcMatrix.MatrixCalculator.main(MatrixCalculator.java:29)

    What could it be?

    Thanks again!

  3. Hello sir, Just now i have come across your java teaching videos. I start learning java through these videos. These videos are awesome. So much easy to understamd and the way it is presented ,i have became a hudge fan of yours. Sir, i want some advice from you. Actully i have completed my BE(mechanical) from mumbai university in 2016. But now i want to enter IT indutry. And i have started learing java through your  java videos. So, please advice me sir, can i shift to IT industry by learning java language. Is there any difficulty for someone who is a mechanical engineer and want to get job in IT. And which software should i learn ?. please advice and reply me sir, im in big trouble.

  4. Something wrong with the statement frame.getContentPane(new App().panelMain);
    I got the following error:
    Error:(26, 14) java: method getContentPane in class javax.swing.JFrame cannot be applied to given types;
    required: no arguments
    found: javax.swing.JPanel
    reason: actual and formal argument lists differ in length

Leave a Reply

Your email address will not be published. Required fields are marked *