We have seen popup menu at desktop based user interface for programs. Popup menu are easy to access (just by right click of mouse) and delivers most commonly needed features to user.
Swing is simple yet elegant way to create desktop based friendly user interface(UI). Today, I will tell you how to create a simple menu bar that will just look like menu bar we daily see while using different apps.
A basic swing example on how to create a simple login window with static size setting and full code.