layout-manager
What is the preferred layout manager for a container with collapsable JPanels
My code h开发者_如何学Pythonas a JPanel that contains three collapsible JPanels. The outer JPanel uses the BoxLayout to stack the three JPanels vertically. However, when I collapse a JPanel, the top J[详细]
2023-03-25 08:25 分类:问答BorderLayout not working
I cannot get BorderLayout to work. I want the cancelbutton to be positioned at the bottom, but it doesn\'t work.[详细]
2023-03-24 04:43 分类:问答Java CardLayout Main Menu Problem
Ok so im working on this game in ja开发者_运维问答va called 8 bit chimera. Im working on the main menu right now but when im using the card layout the window wont open for some reason. Here is some co[详细]
2023-03-23 23:29 分类:问答Java setting dimensions of JPanel
I have created a JPanel within a JPanel, and I would like to set its width and height attribute to some specific numbers. here is what I have so far.[详细]
2023-03-23 23:19 分类:问答How to create interface in java [closed]
This question is unlikely to help any fu开发者_Python百科ture visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not[详细]
2023-03-23 09:59 分类:问答Alignment of components in a gui window
I have got a window that looks like window1 and I would like it to look like window2: This is my code:[详细]
2023-03-23 00:59 分类:问答Fixed widths into a GridBagLayout
I\'m using GridBagLayout to make a StatusBar which looks like in the picture. I have 4 areas, so I have a button in the first one, then info messages in the second one, and then I want two more (and[详细]
2023-03-23 00:12 分类:问答plMortgage Calculator GUI Issue with A Lot
I am having a lot of issues with this application. I have been at this all day and cannot get this figured out. I have a Java application that is for a class. The issue that I am having is trying to g[详细]
2023-03-20 18:58 分类:问答Java Mortgage Calculor GUI Issue
I am sort of new to programming, well at least programming in Java, I am in a class at the moment and I just need someone to point me in a direction.[详细]
2023-03-20 16:09 分类:问答I can't get BoxLayout's setPreferredSize() method to work the way I want it to
I think I solved my problem, but I don\'t know why it works this way, so I\'m hoping someone can explain it to me so I don\'t do the same mistake again in the future.[详细]
2023-03-19 12:40 分类:问答