11 Solved Topics
Remove Filter
|
|
Hi All, In MY GUI app, inside JFrame, i need to put two rows 8 column components first and then below i need to put one button in the center . I created one Jpanel having 2*8 grid layout and placed the components for two rows there and have put … |
|
Hello. I am trying to recreate manually a small celsius-to-fahrenheit converter that I created with Design view before that. I used its code for reference, but still doesn't work. When I run my code I don't get the components drawn on the screen, only an empty window. What am I … |
|
I am designing a very basic form in which I am using GridBagLayout to position and size the GUI components. All the components get sized and positioned exactly as I expect from my code except the two radio buttons named "noRadio" and "yesRadio" respectively. I want them to appear next … |
|
Hello, For some reason when I use the particualr block of code below it will work the first time, but when called again with RemComps as true, it will work almost the way I want it to, but instead of the one set of buttons it has 2 (or the … |
|
i'd like to ask how one can get rid of all the components in a JPanel (buttons, labels, comboboxes etc), so that you can add new components (at run time that is) |
|
Well, I've been Googling for at least 30 minutes, and looking through past posts about this, but just can't seem to find an answer that works. Basically, I've got a component class that has a single method I'm trying to test out. The entity class has a private array of … |
|
I am working my way through an online book--Intro to Java Programming by David Eck--and in it he says that it is generally considered bad style to use the getGraphics() method to draw outside of a component's paintComponent method. Does anyone know why this is? |
|
Greetings all! I'm facing a problem that's been throwing me for a loop for a while now. I'm implementing an old VB application that someone else wrote a long time ago onto a VM. I've gotten past a few different issues/errors just to get new ones (that's the name of … |
|
Hello, I am trying to design an java desktop application. My question is: Is there a way to change the whole look? From example different titlebar, different jFrame, buttons... (designed with PNG images, transparency, etc.). Is it possible? If so, how? In VB or C# I can easely change those... … |
|
All these days I've been trying to access a Swing component (e.g.: JLabel) from a separate thread. I tried using "Thread", "Timer", "SwingWorker" but I couldn't find the solution. - Using a thread results in stack overflow. - Using a timer doesn't access the Swing component (e.g.: change the text … |
|
|
Hi, I've created a base user control from which I want to inherit to create custom controls. This control will be used for data entry and includes a tablelayoutpanel control and panels. When I inherit from the base control, the derived control will not allow the dragging and dropping of … |
The End.