javafx-2 Questions

11

Solved

I would like to know if it was possible to detect the double-click in JavaFX 2 ? and how ? I would like to make different event between a click and a double click. Thanks
Shari asked 8/6, 2012 at 13:7

3

I created a Label in JavaFX which has a contains a lot of text. Label l1 = new Label("\t\tC-Mark and Attendance Calculator is a simple " + "software to find both the C-Mark and monthly attendance...
Repeater asked 12/3, 2014 at 11:56

3

Solved

I wonder if it is possible to make a progressbar with the appearance,"progressbar Animated bootstrap". With stripes going sideways. http://getbootstrap.com/2.3.2/components.html#progress
Stillhunt asked 30/8, 2013 at 18:48

6

Solved

We're building a JavaFX application in Windows, and we want to be able to do some things to manipulate how our application appears in the Windows 7/8 taskbar. This requires modifying a Windows vari...
Kimbrough asked 22/2, 2013 at 22:39

4

Solved

I want to write a text editor in JavaFX which acts similar to Eclipse/Netbeans IDE to highlight the Java code. Can anyone suggest as to how it can be achieved or anyone has done this previously. T...
Tricrotic asked 2/5, 2013 at 11:47

4

Solved

I'm trying to do something when one tab of my tabPane is clicked, I've tried use Action Event but it doesn't work: public void tabPressClicked (ActionEvent event){ comboBoxPresYear.setVisible(tru...
Budde asked 4/2, 2013 at 16:35

5

Solved

I have a Java Desktop Application with JavaFX 2 in it and in my FX I've got a TabPane. I want to set the default tab. In other words I want to set a tab as selected. I found that there are multiple...
Thursday asked 1/8, 2011 at 17:56

4

Solved

I have looked around quite a bit and cannot find the solution. I am adding a separator in SceneBuilder. This is easy. Now I want this separator to be a solid line. This I am having issues with. I...
Antihelix asked 15/1, 2013 at 21:29

7

Solved

How do I make hitting the Tab Key in TextArea navigates to the next control ? I could add a listener to cath de key pressed event, but how do I make te TextArea control to lose it focus (without k...
Overhear asked 12/10, 2012 at 13:46

8

Solved

My application is Swing-based. I would like to introduce JavaFX and configure it to render a Scene on a secondary display. I could use a JFrame to hold a JFXPanel which could hold a JFXPanel but I ...
Flake asked 30/6, 2012 at 11:39

5

Solved

The idea is: on a TableView of N columns to have the first M columns always visible even when you use the horizontal scroller. The only thing near my requirement is this Binding two tableviews to...
Dragrope asked 17/7, 2013 at 6:56

5

Solved

I have my JavaFX 2.0 application, where i need to make some action, after user clicked an item in ListView element. To construct user GUI i'm using FXML, in which i have something like this: <...
Caliber asked 15/3, 2012 at 15:0

3

Solved

How is it possible to change scene of fullscreen window and avoid to show "Press ESC to exit fullscreen" message? I'm building fullscreen desktop application (touchscreen kiosk) so I can show this...
Weltschmerz asked 23/5, 2013 at 12:8

14

Solved

The TableView in JavaFX have 2 column resize policies: CONSTRAINED_RESIZE_POLICY and UNCONSTRAINED_RESIZE_POLICY But I want columns that are resized to fit the content of theirs cells. How do I do ...
Nevlin asked 1/2, 2013 at 16:31

11

Solved

Is it possible in JavaFX to change the focus traversal policy, like in AWT? Because the traversal order for two of my HBoxes is wrong.
Sawtelle asked 6/3, 2013 at 4:21

14

Solved

I am just starting out with JavaFX, and I am trying to build a simple application with a label, text field and button which, when clicked, sets the label's value to that of the text field's. Everyt...
Filar asked 9/2, 2016 at 2:0

3

Solved

I am using javafx tableview with active sorting and insertion of a new row every millisecond... I want this functionality: If I have selected a row then it should remain visible (that is should n...
Spiritualist asked 24/6, 2013 at 5:25

4

Solved

I need to set the caret position manually in my code. There is a getCaretPosition() under javafx.scene.control.TextInputControl but there is no setter method. How can I set the caret position?
Eonian asked 28/11, 2011 at 9:24

3

Solved

What is the correct way to put an item which value is null, inside a ComboBox? I tried using myComboBox.getItems().add(null);, and it works, but whenever the user selects this value on the combo bo...
Valora asked 16/9, 2014 at 19:53

7

Solved

I use JavaFX 2.1 and I created GUI using FXML, in the controller of this GUI I added myTextField.requestFocus();. But I always get the focus in the other control.
Deuced asked 5/10, 2012 at 10:42

3

Solved

I am trying to add custom css styling to the JavaFX ProgressBar component but I couldn't find any information on the topic. I am looking for the css class names and the css commands that are requir...
Tecumseh asked 17/10, 2013 at 2:28

7

Solved

In javaFX to resize a canvas there is no such method to do that, the only solution is to extends from Canvas. class ResizableCanvas extends Canvas { public ResizableCanvas() { // Redraw canvas ...
Puiia asked 2/7, 2014 at 14:18

4

Using JavaFX Charts, I need to invert the y-axis of a stacked area chart so that a positive zero is at the top and the positive numbers work downward on the y-axis. Below is a mock-up of what I'm t...
Garrison asked 2/8, 2013 at 21:56

3

Solved

This question is rather simple: Is it possible to receive resize events that only trigger once, even if width and height change at the same time? I have an application that calculates an image in ...
Negate asked 27/3, 2018 at 12:8

2

Solved

I am trying to call a JavaScript function from a JavaFX WebView on a JavaFX button click event. I am using the following code, but it is not working: try { File file = new File("F:\\inputfile\\h...
Kernite asked 17/10, 2013 at 7:34

© 2022 - 2024 — McMap. All rights reserved.