Questions tagged [controlsfx]

ControlsFX provides additional UI controls for JavaFX to complement the core JavaFX distribution.

ControlsFX is an open source project for JavaFX that aims to provide really high quality UI controls and other tools to complement the core JavaFX distribution.

298 questions
0
votes
0 answers

Programmatically scrolling to a specific item in a ControlsFX GridView

fun ensureVisible(item: T) { // Gross workaround. Couldn't find any other solution for (n in children) { if (n is VirtualFlow<*>) { n.scrollTo(items.indexOf(item) / getItemsInRow()) break } …
Iguanastin
  • 11
  • 3
0
votes
0 answers

ControlsFX runtime error when trying to instantiate SpreadsheetView

Here is the error message, it occurs when trying to create a new SpreadsheetView(): Caused by: java.lang.IllegalAccessError: class org.controlsfx.control.spreadsheet.GridBase (in module org.controlsfx.controls) cannot access class…
0
votes
0 answers

Instanciate XSSFWorkbook from XML String

I'm trying to implement a function that can paste excel rows into a spreadsheetview object (controlsfx). Right now, I managed to get a string representing the xml associated with my clipboard :
Luca170598
  • 23
  • 8
0
votes
1 answer

VM option for ControlsFX

I have an exception when I use TextFields.bindAutoCompletion with JDK 11 and ControlsFX 11.0.0. java.lang.IllegalAccessError: class org.controlsfx.control.textfield.AutoCompletionBinding (in module org.controlsfx.controls) cannot access class…
Papp Zoltán
  • 131
  • 7
0
votes
0 answers

Is there a possibility to customize the behavior of the buttons for ControlsFX wizard

Current GUI with the buttons in question My problem is that I need to prevent the user from clicking the Next Button when specific conditions are not met, I thought the best way for this would be to overwrite the onClickEvent for this Button but it…
Thomas
  • 1
0
votes
1 answer

Remove Scrollbar from Textfields.bindAutoCompletion in ControlsFx

Is there any way to access and remove the Scroll Bar in JavaFX ControlsFX when building a Autocomplete Textfield with autoCompletionBinding?
mori
  • 11
0
votes
1 answer

CSS styling of ControlsFX segmented bar text

How can I change the size and color of the text for the ControlsFX segmented bar? The usual way: -fx-font-size: 15px Doesn’t seem to work. It doesn’t matter to me whether I change this using a CSS stylesheet or through the code. I have tried both.…
sillyPin
  • 35
  • 5
0
votes
2 answers

ContextMenu sub-menus from a List of Strings

I'm trying to make a ContextMenu similar to this one in the image below: I want to display a list of Strings in one of the groups. This is possible by using ActionGroup, from controlsFX library. In order to reproduce the example in the picture, use…
FARS
  • 313
  • 6
  • 20
0
votes
0 answers

I am trying to open SpreadsheetView using ControlsFX

I'm trying to load a SpreadsheetView to a pane but whenever I try to load it throws an exception that I cannot identify. I just used the sample code from de doc. Thank you in advance and sorry if this is too trivial. I'm running on java 11.0.1 using…
Leboroz
  • 23
  • 5
0
votes
1 answer

Controlsfx notifications blacks out the background on raspberry pi. Has anyone seen such issue?

I’m trying to use controlsfx notifications on raspi, it works fine on mac but when I run it on raspi, the notification is shown properly but the background blacks out and is only visible after the notification is timed out. And sometime it shows…
Gaur
  • 1
  • 3
0
votes
1 answer

ControlsFX Position of AutCompletePopup is incorrect

I have an AutoCompletionTextFieldBinding object for one of my TextFields. The position of the AutoCompletePopup is offset from the TextField by a good margin, from other images of the popup I can see this is NOT supposed to be the case. What could…
erik p
  • 360
  • 3
  • 15
0
votes
2 answers

Autocomplete in Javafx11.0.2 not working shows error of javafx.base and controlsfx not exported

I am using javafx-11.0.2 and trying to use autocomplete feature.The code is like this: @FXML private TextField corporateName; private Set possibleSuggestion = new HashSet<>(Arrays.asList(_possibleSuggestion)); private String[]…
J.Srivastava
  • 51
  • 1
  • 12
0
votes
0 answers

Controlsfx Popover is not displaying at right location

I'm designing a desktop app using java & javafx (UI Library). When a user clicks on his image in the app, a list of options will be shown to him in a popover (A class from the controlsfx library) relative to his parent but the problem is when the…
0
votes
0 answers

SpringBoot an JavaFx project works on Ide, when I run the Jar file I get error: ClassNotFoundException

I wrote a small project (jdk 8) with Springboot and JavaFx to make simple UI. When I run on IDE (STS, Eclipse, Intellij) everythingh works fine. When I package to Jar file, I run it (from Windows 10) or on prompt cmd, it doesn't work, and I get…
0
votes
1 answer

Menu button style while menu open JavaFX

I was wondering if I can set a certain style (e.g. background color to black) for a menu button while the menu of this menu button is currently open. That is, if the menu is not open, then it should not have a black background color. Can I do this…
Gregor
  • 409
  • 1
  • 5
  • 12