guiViewport and nifty in AppStates form?

After my last post I am learning more java and jmonkey understanding on how it works etc Thank you for your patience from my last newbieness but how would you write GuiViewport in an AppState form and nifty it it just ( private Nifty nifty; and private GuiViewport guiViewPort; ) ? Sorry if i’m being too vague.

Just pass the gui viewport in the constructor of the appstate?