This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Help with GridPane Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "Help with GridPane" Watch "Help with GridPane" New topic
Author

Help with GridPane

fadi aboona
Ranch Hand

Joined: Apr 25, 2010
Posts: 71
Hi all,
See attached photo. The TS and ATS labels are not in their proper position below Password!
I spent hours trying to figure this out, your help would ease up my suffering!
Here is the code:



[Thumbnail for Screen Shot 2012-05-13 at 12.45.23 AM.png]

Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4206
    
    3

fadi aboona wrote:The TS and ATS labels are not in their proper position below Password!

Huh? They are below Password.

I think you need to tell us where you thought that code should place them.

If you're referring to the vertical positioning, look into setting appropriate RowConstraints


luck, db
There are no new questions, but there may be new answers.
fadi aboona
Ranch Hand

Joined: Apr 25, 2010
Posts: 71
Darryl Burke wrote:
fadi aboona wrote:The TS and ATS labels are not in their proper position below Password!

Huh? They are below Password.

I think you need to tell us where you thought that code should place them.

If you're referring to the vertical positioning, look into setting appropriate RowConstraints


i need them immediately below password with not that much spacing. I will look into RowConstraints, thanks.
fadi aboona
Ranch Hand

Joined: Apr 25, 2010
Posts: 71
fixed, what i did is, i made the ListView inside one row only then experimented with spanning multiple rows and it worked. Here is the new code in case someone struggles through this.




[Thumbnail for Screen Shot 2012-05-13 at 9.07.29 AM.png]

fadi aboona
Ranch Hand

Joined: Apr 25, 2010
Posts: 71
update: i think the problem is more to do with this:


if you change it to:

It would show up nicely!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Help with GridPane
 
Similar Threads
Binary Files ?
Insider's Guide to Mixing Swing and JavaFX
Adding CSS produces error
Change the Tick Label Value of X Axis in Java FX
How to group these JLabels?