About 15,700,000 results
Open links in new tab
  1. swing - Hand-coded GUI - Java - Stack Overflow

    Apr 11, 2012 · I'm trying to hand-code a Java GUI using Swing and AWT. I'm using various layouts to try and achieve or something similar to the GUI posted below (it's a mock layout made with Pencil): What I got so far is this, but can't seem to make it more "polite", appealing and user-friendly as possible.

  2. Java Swing Tutorial: How to Create a GUI Application in Java

    Dec 30, 2024 · Java Swing package lets you make GUI components for your java applications. This tutorial gives programs and examples to create Swing GUI.

  3. swing - Easiest Way to Create A GUI in Java? - Stack Overflow

    Here is the official tutorial: Swing tutorial. If you want to use something that uses the native OS components, then SWT is for you. Lars Vogel has zounds of tutorials in this topic: SWT tutorial. If you want something new and shiny, then take a look at Java FX.

  4. user interface - How to create a GUI in Java - Stack Overflow

    Here's a simple example. public static void main(String[] args) { JFrame f = new JFrame("A JFrame"); f.setSize(250, 250); f.setLocation(300,200); final JTextArea textArea = new JTextArea(10, 40); f.getContentPane().add(BorderLayout.CENTER, textArea); final JButton button = new JButton("Click Me"); f.getContentPane().add(BorderLayout.SOUTH, button);

  5. How to make a graphical user interface in java?

    Nov 13, 2024 · Creating a graphical user interface (GUI) in Java is a fascinating task that can be achieved using Java’s built-in Abstract Window Toolkit (AWT) or Swing libraries. In this article, we will explore both options and provide a step-by-step guide on how to create a GUI in Java.

  6. What's the actual modern way to make a GUI with Java? : r/java - Reddit

    Jun 1, 2015 · May be worth checking out the basic getting started guide by Oracle: http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm. I would recommend playing around with it a bit first and then make the application you want to make. So that you're not heading in blind.

  7. Build Stunning Java GUI Applications with JavaFX and Swing

    Dec 2, 2024 · In this tutorial, we will cover the basics of building Java GUI applications with JavaFX and Swing, including implementation guides, code examples, best practices, and testing and debugging techniques.

  8. GUI in Java [Complete Practical Guide] - OpenGenus IQ

    In this blog, we will explore the basics of GUI development in Java, including the history of Java's GUI libraries, and delve into the key features and examples of using the Abstract Window Toolkit (AWT), Swing, and JavaFX.

  9. #10. How to Make GUI programs using Java? - Medium

    Today we are going into Input/Output (I/O) handling and Event-Driven Programming. These concepts make our programs dynamic, interactive, and user-friendly. So, if you don’t have any previous...

  10. Sample Java Code for Building a Simple GUI App - ThoughtCo

    Jan 13, 2020 · Follow along with what is happening in the code by reading the implementation comments, indicated by two slashes at the beginning of each comment line. This code goes with the Coding a Simple Graphical User Interface - Part I step-by-step guide. It shows how to build an application out of a JFrame, two JPanels and JButton.

  11. Some results have been removed
Refresh