swing
How to display computer files and folders in java swing GUI [duplicate]
This question already has an answer here: Closed 11 years ago. Possible Duplicate: Swing JTree with Checkbox and JFileChooser[详细]
2023-04-12 04:13 分类:问答Inheritance between packages does not exist?
Pardon me for a stupid question but It recently dawned on me that I\'ve been doing things like this import java.awt.*;[详细]
2023-04-12 03:52 分类:问答JList of cards?
This is related to: How to make a dynamic image at run time? Aft开发者_运维知识库er I have the page images I would like to present them in a list so the user can select the page to play. I know JList[详细]
2023-04-12 02:23 分类:问答Get size of JPanel before realizing
I\'ve created JPanel and have already added components into it and I\'m going to pass开发者_JAVA百科 that JPanel to PopUpFactory... So can I get size of JPanel before passing it?[详细]
2023-04-12 02:13 分类:问答loading image in a JPanel
I have a JPanel (which I created using netbeans)and I need to load image in it, based on selection on previous page. Could anyone suggest how to do that. Also is JPanel the best way to do wh开发者_Sta[详细]
2023-04-12 01:53 分类:问答Invisible components still take up space JPanel
I have a series of components underneath each other in a JPanel set as a GridLayout. I need to temporarily hide the components but setVisible(false) doesn\'t cut it, because there is still an empty ga[详细]
2023-04-12 01:04 分类:问答Using invokeLater or invokeAndWait to wait for a response from another GUI
This method is supposed to merge two the definitions of two entries for a single in a glossary. It creates an instance of the GlossaryEntryMergeUI class (extension of JFrame), which walks the user thr[详细]
2023-04-12 00:18 分类:问答How do I show a animated GIF image using a thread
I am trying to implement an image using the method below, so that when the send action is performed, the GIF image should show within a specified time(As implemented by the threadRunner pause method).[详细]
2023-04-11 23:31 分类:问答How to get X and Y index of element inside GridLayout?
I am studying a java tutorial and saw that the way to find the x/y indexes of a JButton inside a GridLayout is to traverse a bidimensional array of buttons b which is associated to the layout and chec[详细]
2023-04-11 23:04 分类:问答trying to create a scroll pane for text area
I\'m trying to create a scroll pane for my jtextarea. Below is my code snippet. I wonder why it didn\'t work. Can someone provide me some insights? Thanks.[详细]
2023-04-11 22:41 分类:问答