javafx-2 Questions

3

Solved

I'm trying to change the color of bar in ProgressBar with pBar.setStyle("-fx-accent: green"); but I have encountered a problem: that doesn't seem to work right for me! (Or I just don't understan...
Sinegold asked 13/11, 2012 at 7:43

4

Solved

I would like to block the owner window for a popup in JavaFX. I initialize my popup like this: popUp = new Popup(); popUp.getContent().add(content); popUp.show(pane.getScene().getWindow()); Wit...
Contend asked 25/3, 2013 at 22:24

4

I need to implement a filter in javafx tableview with huge data (around 100,000 ), I have tried this tutorial. It works but filtering is really slow as compared to swing sorting and filtering, cod...
Magnate asked 10/6, 2013 at 5:28

3

Solved

How can I loop over the controls of the scene ? I tried with getChildrenUnmodifiable() but it returns only the first level of children. public void rec(Node node){ f(node); if (node instanceo...
Brain asked 22/10, 2012 at 12:1

13

Solved

In Swing you can simply use setDefaultCloseOperation() to shut down the entire application when the window is closed. However in JavaFX I can't find an equivalent. I have multiple windows open and...
Elegist asked 28/8, 2012 at 6:10

3

Solved

I am trying to capture screen shots in my JavaFX application using Robot class, this is the code which I used in my application: Rectangle screenBounds = new Rectangle(Screen.getPrimary().getBoun...
Boehmenism asked 21/11, 2012 at 5:38

8

Solved

Is there any way of auto scroll down a ScrollPane control when it content's height increases ? For example, I have a TitledPane on the bottom of the screen (inside a ScrollPane) and when I expand i...
Tengler asked 31/10, 2012 at 11:30

4

Solved

Is it possible to render a scaled image in an ImageView in JavaFX 2.2 without any smoothing applied? I'm rendering a 50x50 image into a 200x200 ImageView, with setSmooth(false), so each pixel in th...
Alesandrini asked 18/4, 2013 at 17:17

13

Solved

I am working on making a screen recorder in JavaFX and one utility that is mandatory in the screen recorder is to let the user define how much area to record. I managed to make an undecorated , s...
Respondent asked 18/10, 2013 at 16:55

4

Solved

How can I set the Font type globally in a JavaFX application? Is there any solution that I can use? In JavaFX 8 the default Font has changed, and I would like to use the same Font used in JavaFX ...
Loraineloralee asked 23/8, 2013 at 17:50

3

Solved

When user presses a button in my JavaFX2.2 UI, a dark blue halo appears to show it was clicked. During the course of events, my program may want to 'unclick' it to show it is no longer selected. ...
Deepsea asked 4/4, 2013 at 18:45

3

Solved

Binding to properties of an object which is itself wrapped in a property seems like something one does a lot in typical applications, is there a better way to do this in JavaFX than what I do below...
Backbreaking asked 16/5, 2013 at 14:21

3

Solved

i have one choicebox in javafx contains 3 items let A B and C so on change of selection of this item i want to perform certain task so how can i handle this events? final ChoiceBox cmbx=new Choic...
Canzonet asked 25/1, 2013 at 13:23

4

Solved

I need to perform validation on several TextFields when text is changed. The validation is exactly the same, so I thought I use a single procedure. I can't use onInputMethodTextChanged because I ne...
Barram asked 14/12, 2013 at 16:11

3

Solved

Is it possible to set the mouse cursor to become a pointer (hand) when hovering a Node width JavaFX Scene Builder? How?
Sharilyn asked 6/8, 2013 at 17:7

3

Solved

I have a Label with an image and text final Label label = new Label(labelText); label.setTextAlignment(TextAlignment.CENTER); ImageView livePerformIcon = new ImageView(MainApp.class.getResource("...
Avon asked 24/3, 2014 at 12:40

2

how get column index and row index in GridPane of JavaFX. see the code below Text text1 = new Text("Text 1"); Text text2 = new Text("Text 2"); StackPane root = new StackPane(); GridPane gridPane =...
Cynthea asked 13/6, 2013 at 9:45

3

Solved

private VBox addVBox() { VBox vb1 = new VBox(); vb1.setPadding(new Insets(40, 40, 20, 40)); vb1.setSpacing(20); vb1.setStyle("-fx-background-color: #333333;"); TextField txt1 = new TextField...
Ideatum asked 13/4, 2014 at 6:27

4

Solved

Previously in Swing, I have used the JSyntaxPane for making a tiny Java source editor. For practice, I decided to redo the entire project in JavaFX and adding support for more languages. Preferably...
Recently asked 26/10, 2013 at 6:0

3

Solved

Looking at this code they show a way to display a new window after a login. When username and password are correct it opens new dialog. I want a button click to open new dialog, without checking fo...
Jerryjerrybuild asked 23/2, 2013 at 14:48

8

Solved

I have a TableView associated to a TreeView. Each time a node in the TreeView is selected, the TableView is refreshed with different data. I am able to sort any column in the TableView, just press...
Quartic asked 19/6, 2012 at 7:31

5

Solved

I've tried several times and several ways but I can't make my image show on stage as I want. I think it might has to do with the path where java looks for resources, but i'm not sure, since I'm jus...
Postorbital asked 17/6, 2014 at 9:20

10

Solved

is it possible to hide the controls of a HTMLEditor above the actual text? (Alignment, Copy&Paste icons, stylings etc.) Thanks for any help
Laboratory asked 9/4, 2012 at 15:51

3

Solved

Is there a way to get a column from a TableView by name? When I need to get a column I have to get it by index: tableView.getColumns().get(i); but I would like to get the column by name: table...
Romano asked 21/4, 2014 at 0:30

3

Solved

Is there a way to set JavaFX Bar Chart column width size? import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.chart.BarChart; import javafx.scene.chart.CategoryA...
Plexor asked 4/12, 2014 at 19:55

© 2022 - 2024 — McMap. All rights reserved.