Skip to content
Advertisement

Tag: javafx

JavaFX 2.2 TextField maxlength

I am working on a JavaFX 2.2 project and I have a problem using the TextField control. I want to limit the number of characters that a user will be able to enter into each TextField. However I can’t find a property or something like maxlength. The same problem existed in Swing and was solved this way. How to solve

How to Convert FXML to JAVA [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 4 months ago. Improve this question I created a .fxml file using javafx scene builder in NetBeans. How can I convert .fxml file in NetBeans to .java? Is that any

Tab key navigation in JavaFX TextArea

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 knowing the next field in the chain to be focused) ? Answer This code traverse focus if pressing TAB and

Javafx Pane vs Region?

According to the documentation, both Region and Pane will resize any resizable child nodes to their preferred size, but will not reposition them. So i can’t see where the differencies between these …

JavaFX 2.1 TableView refresh items

I have this common issue, as it appears to be. My table view wont refresh my items after I reset them. I have checked the data and it’s the new one. I tried multiple solution from internet but no success. Can’t reset all the columns because it adds one empty one extra (dont know why) and the resize just breakes.

Java heap space (java.lang.OutOfMemoryError)

In my project, I have a module to upload multiple image and create the thumbnails for it at once. For uploading, I am using JavaFX and for creating thumbnails, I am using Java. I wrote upload code and call of thumbnail creation function inside a for loop. If the number of uploading images is more than five, I am getting

Advertisement