hi! i'm using netbeans to create a project

my Form LibSys contains the following:
->mainPanel (contains some controls)
->menuBar
- fileMenu
- jMenuItem1
- exitMenuItem
-helpMenu
->login_dialog


when the user clicks on jMenuItem1, he's led into method jMenuItem1ActionPerformed..inside this method, the program should show the login_dialog that will do something..

i tried this:
login_dialog log = new login_dialog();
..but it says it cannot find login_dialog in LibSysView


how do i solve this? please help..