java - How to display a custom dialog in netbeans JFrame editor? -


i using jframe feature in netbeans in order make simpler customize , edit. in program, clicking button calls action displays dialog box. want have image inside of dialog box. in netbeans along jframe editor can add boxes , customize them, along dialog box. means easier edit dialog box.

how call custom dialog box display when button clicked?

to put more without need puting code. have created cusome dialog box in netbeans gui builder. now, how call/use custome dialog box inside of actual jframe, coded inside netbeans gui editor, , located inside same package , all.

first drag , drop swing windows >> dialog. inside code write line show

jdialog1.setvisible (true); 

after double click on dialog design , add many components like

best wishes


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -