Questions tagged [JavaFX] (254)

2
answers

How to change the color of the heading Stage in JavaFX?

I need to change the header color in the Stage.
Vincent.Gutkowski asked April 16th 20 at 10:15
2
answers

Why I get the error "Error: JavaFX runtime components are missing, and are required to run this application" when running JAR file?

Good afternoon. I am new to programming. My goal is to create a JAR file from the most simple JavaFX project. The file is created without problems, but when I try to run it I get the error "Error: JavaFX runtime components are missing, and are required to run this application". Already spent two days trying to solve the pro...
Mohammed28 asked April 9th 20 at 10:31
1
answer

How to make my code correctly kept the screen?

Welcome looking! In fact, I incorrectly saved the screenshot - it's always saved as screenshot-0 The code below static long screenshotCount = 0; public static void createScreenshot() throws IOException, HeadlessException, AWTException { BufferedImage image = new Robot().createScreenCapture(new Rectangle(Toolkit.getDef...
kellen69 asked April 9th 20 at 10:13
1
answer

How to deliver a jar to the user?

Hello, is there an app to JavaFX which is Packed in jar and user of the machine on which this app will work. Machine on linux direct access to him there, but initially there is a possibility to configure them as needed. Question: how to automate the delivery of the latest version of the jar file on the machine to make it ru...
korbin asked April 8th 20 at 10:01
1
answer

How to display in the JTextArea from the file contents?

Good day! You need to withdraw from the file content in JTextArea ,but I have something does not work.Thanks in advance GUI (JPAN) import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class GUI { public static void gui() { JFrame frame = new JFrame("Labo...
Karl_Bartoletti asked April 8th 20 at 09:43
1
answer

Why not is the time and this increases table file and how to fix the output in a JPane?

Good day! Can't find where the error over time,possibly associated with a stack.Due to its improper accounting file grows very quickly and statewide sizes in GB.It is impossible to bring the file in JPane. If anyone can help ,thanks. Classy more than 10000 characters so the text can not lay out. https://drive.google.com/fil...
alanna.Haag asked April 8th 20 at 02:41
0
answer

How to get data from text field TextField of javafx?

After I filled two fields which are located top of the program, from a text field No. 1 (investment Amount) number must be multiplied by the number of second text box and the user then clicks on the button, and the result is displayed even in text field # 3 Here is what is in the file: Main.java package sample; import j...
june.Swaniawski asked April 8th 20 at 02:35
1
answer

Help to find the cause in the log code?

This crap is written in any connection, would it be hamachi or IP of the computer(port is open) tried the installation again(and Java and game and all), updated everything, rebooted, keeps this error from February 5, tell me the worst thing ever We were 4 people connected to the server 3-I had the same IP and with the same ...
Mandy.Lemke20 asked April 7th 20 at 10:35
3
answers

What is urgent at the moment: Qt or JavaFx?

I have several years working with Qt and pretty much heard a lot about JavaFx. Even tried a bit to work with him. What interests: about JavaFx, it is impossible to find at least some news and do the lessons or tutorials (except for pieces 1-3). How relevant the platform is and whether or not to go?
kellie.Keeling asked April 4th 20 at 13:10
1
answer

JavaFX MediaPlayer for a long time reacts to rewind the media slider, there are alternatives?

When rewinding of the media file at least to the middle or the end, the player stops playing music for 2-3 seconds. This means that just in javaFX some tight listener events? Are there any good libraries for media playback in Java?
Luz_Bogisich64 asked April 4th 20 at 13:05