Java JMenuBar is spread over the whole width of the window

前端 未结 0 1451
粉色の甜心
粉色の甜心 2021-01-06 00:45

I want to create a very simple JMenuBar with 2 clickable JMenuItems with the following code:

JFrame window = new JFrame();
JMenuBar bar = new JMenuBar();
JMen         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题