trouble « GUI « Java Swing Q&A





1. Is Swing worth the trouble?    coderanch.com

I posted this question on the comp.lang.java.help newsgroup, but none of my posts ever receive responses. So I thought some of you could help me. I teach mathematics and physical science at the high school level, and I am trying to create a series of applets for my students. Therefore, the applets I create have to be accessible to a large ...

2. Is swing worth the trouble?    coderanch.com

[answer to Tina Park's posting, the thread is kinda broklen because the board doesn't seem to like my object/embed pseudo code. sorry] Hi, I've been developing a nice chat applet using swing - and using swing classes really is simple. there are a lot of classes, so you can almost do anything with it. it is also well documented and you'll ...

3. help I am having trouble getting the field to fill in    coderanch.com

I have my program working while I am using the drop down menue, However I want to be able to select the JCheckBox and it will allow me to enter any amounts and it will do the math and fill in the monthly payment and the chart. here is my program: import java.io.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.text.NumberFormat; ...

4. Trouble with firingTableData.    coderanch.com

HI All, I have 2 very important questions here please give your valuable suggestions. I'am using jFrame which adds jInternalFrame1 to its desktopPane,This frame has a jTable, and the table data for it comes from an XML file.I'am using DefaultTableModel for this.Now I have added a button for "FILTER" which opens another jInternalFrame2 with some search criteria.When the user enters some ...

5. trouble changing imageable area    coderanch.com

Our website hosts an applet that prints out an image to the user's printer. The applet hasn't been modified in 2 years, and I'm trying to change its source because we extended the length of the image but the height is also hardcoded on the applet side. I've already changed two Paper methods for the new height: setSize() and setImageableArea() However, ...

6. Can anyone help trouble shoot my GUI?    coderanch.com

your code is, well, all over the place. I'd suggest starting again, building the gui only. do it in steps, compiling as you go. when the gui is OK, add in the game/animation code. here's your code just the gui part, with comments import javax.swing.*; import java.awt.*; class Tower extends JPanel { JFrame TowerFrame;//<-----------------------------what do you do with this final static ...

7. Combo Selection - Trouble    coderanch.com

Hi guys, Have made a small test application to tell my problem. Have rendered a table with a comboBox.Everything works fine,the way I wanted it to be, apart from the following things. [1] When the user Doubleclicks on one of the combocells,the comboitem in the combobox is already displayed on the tablecell.I dont want it to be like that. I want ...

8. GUI Big trouble    coderanch.com

So i have this program that creates an apartment object and and creates an array. Each index in the array represents an apartment, with each value being store in the array representing the number of occupants.. I wanted to build the program and test it so i did and i got that working... now i need to implement GUI into it ...

9. trouble in setDefaultLocale    coderanch.com

JFrame dummy = new JFrame(); // just to use its R2L in JOptionPane :) dummy.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); JOptionPane.showMessageDialog(dummy, " \n \n ", " ", JOptionPane.ERROR_MESSAGE);





10. Trouble implementing a GUI    coderanch.com

Hi everyone, I'm having some issues with a programming assignment. I'm trying to implement a GUI for some backend code our professor gave us, but I can't seem to get anything to show. Basically the GUI is supposed to have some image manipulation buttons (implemented by the backend) up top, open/save buttons at the bottom, and an image in the center ...

11. GUI Trouble    java-forums.org

Hi, I am new to JAVA. I have two JLabels with having letters different Font Sizes. I just want to align them so that the base of the letters are in the same line. Something like this: .... IIIIII A .. II AA IIIIII ------> Same base line I tried using Various Layout Managers: BoxLaout, GridBagLayout, but am missing something and ...

12. Having trouble with first GUI    java-forums.org

13. Having Trouble with a GUI Object class    java-forums.org

Hey all, I'm new to Java and am attempting to create a connect four game. Clich I know, but it had a few interesting problems that I wanted to learn to solve dealing with the swing class and also work through multidimensional arrays. Right now though i can't get my gui object class to work the proper way... was wondering if ...

14. GUI trouble    forums.oracle.com

i have a program that is all setup and works in netbeans output area the problem is i have made a gui for the program.(i have created a button and a jtextarea inside a panel) i want it so when i click on the button it produces the output in the jTextArea. i know that you have to right click on ...

15. Trouble implementing part of code into GUI    forums.oracle.com

Hiya, Im trying to create a simple GUI for an inventory program and I have completed the first frame and it works and all...Im having a really big problem trying to figure out how to create a second frame that will have the output just like the original code did. This is the cade im trying to implement into a second ...

16. Trouble with GUI code    forums.oracle.com





17. Chinese GUI using java version 1.3.1-b24? Trouble?    forums.oracle.com

My GUI consists of several windows of class JFrame. Originally, the GUI displays english. Now it is going to be translated to Chinese. I'm using JBuilder as development tool. JBuilder is configured to UTF-8, because that is the encoding that we shall use on interfaces. The text strings are resourced using class ResourceBundle. The .properties file that is read is translated ...