I posted this question the other day in SomeOtherForum.com Java-forums.org, but wasn't able to get a good answer, so now I'm asking here...
I have a project and I'm working on the important part now.
I want to create this interface in the end and informations in DB.
This my goal, this is a prototypical interface created with MockupScreens
now I created this interface, I think I'm progressing slowly because I made it in one day
it needs more work on...
This is the ouput:
This interface is composed by :
- one columnPanel with a GridLayout - a rowPanel which contains the 5 buttons : ( title of row + up + down + delete + add)
Now I created the add button but itsn't woks like I want.
It adds rowPanel in columnPanel. For example when I click add buttton on row N°0 60, the next rowPanel will be in the end of list not just after.
I want the new rowPanel appear between N°0 60 and N°0 13 .
I added a random number with number of row to differentiate between rowPanels.
Someone have an idea.
I tryed to print the index of rowpanel using getComponent() but it always gives 0.
Here's my full code:
Also I wouldn't start adding rowPanels by the start button,
I created it because it call the addRow method and the first rowPanel won't appear.
Waiting for your response.
Thanks in advance.
And that's fine, but you should tell us that you've posted the same question on other boards, and tell the people on the other boards that you have posted the question here; Darryl's link to BeForthrightWhenCrossPostingToOtherSites says why.
And you should follow the advice from Darryl's point 3.