سؤال

I have JMenuItems , I wanna add to Project Creation dialog to JMenuItem (New) similar to any other Application , I am confused with that a little bit. Is it going to be JDialog , JFrame or JPanel to create such window shown in picture. Maybe I can also add click next in the future as well.

Maybe Similar to

enter image description here

Regards

هل كانت مفيدة؟

المحلول

Please note that standard container for JmenuItems is Jmenubar so add the Jmenuitems to Jmenubar then add Jmenubar to any other container (JPanel, JDialog , JFrame) Hope that helpsMenu Tutorial http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top