gui

Java GUI

How is the GUI implemented in Java? Is it only via javax.swing?

How to create GUI forms in IDEA correctly?

I'm trying to create a form in IDEA using the default plugin. IDE version 11.0.1. I do this: Creating a project. I create a ... se)); } } The application does not start, error: Cannot resolve method. The lines generated by IDEA are highlighted.

Is it possible to make an executable file of an application written in java with the extension not jar, but exe?

I created an application in java, but the problem is that after creating an executable jar file, I can only run it with speci ... if someone tries to run it from another computer, it will not work. How do I make an executable file with the exe extension?

Problem with JavaFX connection in intellij IDEA

Good afternoon, I'm new to programming, got as far as learning JavaFX. But there were some problems. IDEA doesn't see no ... lly installed, I tried to create a project using both Java and JavaFX -- useless. Screenshot attached Thank you in advance

Java error: Cannot find symbol

I read the book1 "java2 Technologies", perform tasks on swing text components and HTML display.In general, when compiling a p ... would be very grateful if someone explains how to work with books of this type and what means java error: cannot find symbol

How to write code for buttons in javafx?

Just moving from the console to the GUI, in this regard, there was a question: There is a code that, for example, reads data ... ten in the lower text panel. How to do this in the console I know, but how to get the program to do it with the javafx GUI?

How to correctly draw objects in java swing

I have a lot of objects that I want to draw on the screen. If this is the case in normal rendering, then there are no problem ... d draw(Graphics graphics) { Graphics2D g2 = (Graphics2D) graphics; g2.drawImage(image, x, y, width, height, null); }

JavaFX-when calling functions that take a long time to execute, an error occurs "The Java platform does not work "

Hello, I am writing an application in java. As a GUI I use JavaFX (I will say right away that there is no such problem when u ... (" + e + ")"); } System.out.println("завершено " + new Date(System.currentTimeMillis())); } });

Are there any libraries for GUI development in Java other than JavaFX and Swing?

I have been studying Java relatively recently and started thinking about writing an application with a GUI. If I want to writ ... tinue to learn Java, or is it better to switch to a more suitable language for this? If so, which one is better to switch to?

JavaFX and filling ComboBox with objects

There is a class Street, with a description of an object of the "street" type, which contains itself private String name;, pr ... t it seems to me that it is possible to solve it through passing objects, and not just strings. In tables, this method works.

Auto-scrolling JTextArea in Netbeans IDE

There is a jTextArea created in the Netbeans IDE visual editor. When a large amount of text appears in it, a scroll appears. How do I make the jTextArea scroll down itself when adding text?

Window sizes in Java

Which property of the MainWindow class inherited from javax. swing. JFrame or method returns the window dimensions?

Problem with adding threads to the program.Java

There is a program, and you need to add a thread (BaseAI) that will work with objects. The drawing should remain in the main ... repaint(); t += t0; break; } } } }

Java GUI component display problem

I am writing an application using Java / Swing and I also encountered a problem: When displaying a JFrame, the components are ... apg = new AllPosts_GUI(); jFrame.getContentPane().add(apg); jFrame.pack(); jFrame.setVisible(true); } }