Using TableView or any other component, can we achieve the following functionality.
Initially part of data in a table has to be shown with More button in the down.
On click of more button UI should expand automatically by showing all the other data
Could someone suggest me about any readily available component or how can I achieve this functionality using JavaFX
Thanks in Advance
Viswanath
Related
I'm trying to develop an application to sort photos, based on the tinder principle.
The picture below is a screenshot of my current GUI, I want to combine the 2 middle columns on the first row so that the label for the photo to be placed in is nicely in the center.
This GUI has been developed in intellij using the gridlayoutmanager. Could someone happen to help me solve this problem?
Kind regards
Current GUI:
This GUI has been developed in intellij
Don't use the IDE to generate your GUI code. Write the code yourself so you are in full control
using the gridlayoutmanager
You are never forced to use a single layout manager. You can create multiple panels each using a different layout manager to achieve your desired layout.
I want to combine the 2 middle columns on the first row
Create a panel. Add the "Dislike" and "Like" buttons to the panel. Add the panel to the parent panel.
I'm doing a desktop project using JavaFX and already I have faced a new kind of layout that I have never seen before. Here is an image of the required user interface:
I know the basics about TableView and ScrollPane but as you can see there is kind of a non-square TableView in this case. Which kind of controls and/or containers should I use for making this UI?
To me this looks like a GridPane Layout, not a TableView.
I need the functionality of a Vaadin Tabsheet. But don't need a component for each tab.
Instead, I have only one component (separate table) and it will be manipulated with the tab sheet actions. For now, I have assigned hidden labels to tabs.
Is there a better way to do this?
If anyone one ran into the same scenario, here is how I solved it.
Instead of adding hidden labels, I added labels without captions.so no need to hide them, because they have nothing to show. :).
Don't set their visibility to hidden. It will cause problems since Vaadin doesn't send hidden components to the client.
I am making a desktop application in Java and confused as to which swing component to use to achieve this result.
Here is the screenshot of the app.
I want to know the component for the content shown in the JScrollPane.
I am thinking of JList or JTable with Providing a Custom Renderer.
There will be alphabet headers and rows containing information.
Each row can be clicked to open a new window.
Row will also change its color on hovering.
there are two ways
JTreeTable (non_free Jide or SwingX)
Accordion (implemented in JavaFX)
You should go with JavaFX Accordion
Titled Pane and Accordion
I have this form where there are extendable controls like there's a textbox for the user to type and beside it is an add button which the user would use to add another textbox beneath the previous one.
My problem is i don't even know how to make that add button work so that another textarea/textbox would appear just beneath the previous control..im doing it in netbeans ide 7.0 and in design mode...
I have researching for quite a while now and i'm so confused already what to do..at least you could provide me with an idea not really the code.
You should create a Layout.
For your case (Form kinda layout) , it seems that you need GridLayout.
For example, please check this link for all type of layout or directly go to Grid Layout link.
Since you're going to be dynamically adding controls to your form, you'd simply want to put in a panel where you want the textbox and the button. Inside that panel place your textbox and button, you'd probably not want to use netbeans to do this, and use a LayoutManager like GridLayout. Now you'lld want to connect your button to an ActionListener that adds a textfiield to the panel.
See the Nested Layout Example for an example of (amongst other things) adding components to a GUI dynamically.