The JavaFX platform enables developers to create and deploy RIA applications that behave consistently across multiple platforms and browsers. It is built on Java technology. "javafx" tag is mostly dedicated for JavaFX 1.3 and older releases, which used JavaFX script language. For newest JavaFX 2+ ...
1
vote
0answers
5 views
JavaFX - Create pdf from binary data
I am writing a JavaFX application that uses WebView to access a website and extract data from its pages. At some point I want to click on a link that opens up a new window which shows a PDF file. With ...
0
votes
0answers
7 views
How to set text alignment
I have this dialog with text.
public class DX57DC extends Application
{
public static void main(String[] args)
{
Application.launch(args);
}
@Override
public void ...
-1
votes
0answers
17 views
JavaFX combobox css styling
I'm trying to customice combobox in JavaFX trough css and i can't customice the "arrow button" on the right (i want it to desapear, or to have a custom graphic, for example).
I have been checking the ...
0
votes
1answer
14 views
How can I bypass the JavaFX's TableView “placeholder”?
JavaFX's TableView has a placeholder property that is basically a Node that gets displayed in the TableView whenever it is empty. If this property is set to null (its default value), it appears as a ...
0
votes
1answer
5 views
Cover the OS task bar using JavaFX
I have google-jitsued the living daylights out of this one and I can't find an answer.
How can I use JavaFX to cover the task bar in the OS? (All OS but the requirement is a Windows system).
I am ...
0
votes
2answers
13 views
java.lang.IllegalArgumentException: Invalid URL or resource not found
I tested this code:
public static void main(String[] args)
{
Application.launch(args);
}
@Override
public void start(Stage primaryStage)
{
// Image
Image ...
0
votes
2answers
35 views
How to improve this dialog
I have this simple dialog which will be called when application is closed.
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
...
0
votes
1answer
29 views
How to create modal dialog with image
I have this very simple modal dialog:
public class DialogPanels
{
public void initClosemainAppDialog(final Stage primaryStage)
{
primaryStage.setOnCloseRequest(new ...
1
vote
0answers
28 views
Wait until Platform.runLater is executed using Latch
What I am trying to achieve is to halt the thread and wait until doSomeProcess() is called before proceeding. But for some strange reason, the whole process got stuck at await and it never get into ...
0
votes
1answer
19 views
How to add onClick listener for each row to dynamically generated table in JavaFX 2
I have my tableview generated dynamically and filled out with data from my database in postgresql. That part works fine. Now I would like to be able to have onclick listener for each row in that ...
0
votes
0answers
22 views
How to avoid scene reload after confirmation dialog
I tested this code:
Main scene:
public class DX57DC extends Application
{
@Override
public void start(Stage primaryStage)
{
// Set Main Window Label
...
0
votes
1answer
19 views
JavaFX 2.2.21 - moving objects only inside of VBOX or HBOX
I'm using GridPane to place 3 boxes where i draw different animation. How could i do that this animated objects wouldn't be visible outside of this boxes? Or should i use something other where to draw ...
0
votes
2answers
33 views
Stage is hidden when dialog is shown
I have this code which displays confirmation dialog to exit application.
public class DialogPanels
{
public void initClosemainAppDialog(final Stage primaryStage)
{
...
0
votes
1answer
25 views
How to close component is JavaFX
I have this example of tabs implementation:
public class JavaFX_uiTabPane extends Application {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
...
1
vote
0answers
18 views
JavaFX node partially transparency
I'm working on a drawing application. In short, this application consists of a background node (a white rectangle) that handles drawing (via mousepressed, mousedragged, mousereleased events). The ...