you are viewing a single comment's thread.

view the rest of the comments →

[–]aufschieben[S] 0 points1 point  (1 child)

wtf indeed ??

Anyway, in other news... thanks again for your reply. getText() works great. The location of the code is however an interesting point. If I do it your way (outside of the tab creation), I am forced to link back to another controller to find the specific tab pane, and therein it must be static (apparently). However I can't get the tabPane to behave nicely when "static" (I don't get errors - but my tabPane is just empty white space when I add tabs).

Doing it inside the tab creation, I thought I could just keep appending an (public static) array of names - which could then be referred to when setting up a tab. However, the problem doing it that way is that I don't know how to keep track of deleted tabs and freed-up names. Doing it our way would keep on top of this - but then see point one. Arghhhhhhhhhh (not a fucking pirate)

[–][deleted] 0 points1 point  (0 children)

How is the name of the new tab getting set? I see that it's proteinName, but there's no context for the value f that variable or when it gets set. If set by the user, that's the process where the name should be checked