Posts by TheJ • 313 points
8 posts
-
3
votes0
answers658
viewsQ: GET Okhttp Java Request
I’m using Postman, and when making a requisition GET, everything goes well and the JSON with the data.However, when I take the java code(below), this request and execute it, I am handed the…
-
1
votes1
answer981
viewsQ: POST request with Okhttp in JAVA
My question is like this, I’m using Postman to simulate these requests, then when I choose there to show the code as it would be in java shows this code below, but full of "strange characters" like…
-
0
votes1
answer1624
viewsQ: How to create a Javafx Window without the three standard buttons (Minimize, Maximize and Close)?
It’s basically what this question, I wanted a screen without these 3 buttons,let’s say that without that border that comes standard in basically all windows that opens, and that comes with these 3…
-
1
votes2
answers1757
viewsQ: FXML file stopped opening with Scene Builder
Until yesterday when I was moving opened a good file. Then now does not open my file anymore. The other fxml of the project open normally but this one in specific appears the icon below that is open…
-
4
votes1
answer2407
viewsQ: Direct PDF Printing on Java Printer
So, I need to print a PDF directly to the printer, because I need to print Tax Notes.If I use this form Desktop d = Desktop.getDesktop().print("Caminho do arquivo") it prints normally the first…
-
2
votes1
answer364
viewsQ: Problem Keypressed Javafx
I wanted to fire an event by pressing the F12 button, but I’m not able to make it fire any action even having created it in code. Here is an example below. F12.setOnKeyPressed(event -> {…
-
2
votes1
answer298
viewsQ: Problem with Keypressed Event to open another JAVAFX window
My problem is the following, this way that I am opening the window I have a problem about using the Keypressed function.Because this way my method needs the Actionevent parameter that when using the…
-
4
votes1
answer560
viewsQ: Flashing buttons with Thread
I’m having a problem trying to make the buttons blink. Using the Thread.sleep(), by clicking the button, Thread.sleep() ignores what comes before it, executes the sleep and performs only what comes…