swing
Blank Component Render with Multiple Monitor
I am developing an AWT application. It runs smoothly on single monitor. However, when used with a multiple monitor set up:[详细]
2023-04-12 11:52 分类:问答Why this code's JTextArea occupies entire JFrame?
I expect part of my frame contains the JTextArea but it occupies entirely. I cannot trace the error here.[详细]
2023-04-12 11:43 分类:问答NetBeans, GUI builder (group layout) centering a component
I\'m trying to design a JButton (an \"Ok\" button) that to look good has to be horizontally centered in the containing JFrame.[详细]
2023-04-12 11:34 分类:问答Embed Swing components from a separate Java/Swing process
I\'ve been asked to investigate the possibility of embedding Swing components from separate Java/Swing processes into a different process.Think Chrome.[详细]
2023-04-12 11:23 分类:问答Swing timer - time fluctuating
I am using a Swing Timer in my game but when the game is running it appears to have moments when it runs smoothly and moments when it slows down.[详细]
2023-04-12 11:21 分类:问答Java separate components with lines
I am learning some GUI stuff on Java and I think Im missing something here. 开发者_JAVA百科I have some components vertically listed using BoxLayout, such as some JButtons one above other. Now I want t[详细]
2023-04-12 11:06 分类:问答Geotools Quickstart tutorial JFileDataStoreChooser.showOpenFile is causing error
I was looking at the Geotools Quickstart tutorial using Eclipse http://docs.geotools.org/latest/userguide/tutorial/quickstart/eclipse.html[详细]
2023-04-12 10:27 分类:问答Single line JTextArea
When you type into a JTextArea, it automatically adjust it\'s size to fit the text typed in. A JTextField, however, does not seem to do that.[详细]
2023-04-12 09:44 分类:问答sorting arrows jtable column header
Does anyone know how to implement the up and down arrows of a JTable column header while sorting its rows?[详细]
2023-04-12 09:29 分类:问答Java backbuffer and animations
I\'m creating a simple 2D game in java. I\'ve only done this in C++ with the Windows API so far. In java, I\'m getting a Graphics object by extending JFrame and calling this.getContentPane().getGraphi[详细]
2023-04-12 08:25 分类:问答