| Thread | Last Post | Replies |
|
| class files layout? round java button possible? | 15 Mar 2004 05:54 GMT | 3 |
I have 2 questions.. 1) I am a little confused about how i should layout my java files..ie, how it's normally done..i have a heep of classes in one file...mostly JPanel and a button class i made, as well as a class that extends frame...is it
|
| Graph component in Java | 15 Mar 2004 03:08 GMT | 16 |
Does anyone know of any freely available graph component in Java? I'm thinking of something along the lines of Qwt (http://qwt.sourceforge.net). I'm looking for a component that allows me to plot XY graphs, Line graphs, scatter plots and has the ability
|
| Help with Swing Applet | 15 Mar 2004 02:09 GMT | 1 |
I uploaded my applet(class file and DB driver and html ). I can see applet loaded. But it's not working as it should. My applet is suppose to query DB and then according to the result to draw some pics in JPanel(using custom painting). It worked well as an application
|
| Can't get a dialog box to work | 14 Mar 2004 20:47 GMT | 3 |
lblEmpty = new JLabel("Aircraft Empty Weight",JLabel.LEFT); panel.add(lblEmpty); txtEmpty = new JTextField("0",5); txtEmpty.setSize(50,30); // Width, Heigth
|
| JLabels | 14 Mar 2004 20:02 GMT | 2 |
The default positioning for a JLabel is the centre of a graphic. I've tried to plot coordinates using the Point class to make the graphic (a gif image) appear in the left corner to no avail. Anyone cast any light on what I should do? I'm trying to do something similar to the ...
|
| printing | 14 Mar 2004 07:52 GMT | 5 |
Im trying to add printing capabilities to my current application. Does java have a pre-made dialogbox for printing that displays all windows printers ? How does it work ? Thanks for any help.
|
| chronological order of JInternalFrames | 13 Mar 2004 17:51 GMT | 1 |
Hi! I want to build a "Window" menu with the functions "Next Window" and "Previous Window" which select the next or previous opened internal frame (in the order as they were opened). To implement these methods I
|
| Passing objects between two JFrames | 13 Mar 2004 15:04 GMT | 4 |
I have a slight problem at the moment... I have a main Swing program that needs the manual input of data. I've decided that it should be handled in a seperate JFrame which would, once the user has finished, pass the data object back to the main program, sort of like
|
| Update display after changing GUI-properties trouble | 13 Mar 2004 13:47 GMT | 6 |
I have written an Applet that supports both german and english language. Via menu it can be switched while running. If selected a method does the following things: -call a method which sets new strings on all components (setText(),
|
| getting coordinates | 13 Mar 2004 13:12 GMT | 1 |
How do you convert JLabel coordinates back to JPanel coordinates when you click on the label object. In my mousePressed handler I get the coordinates relative to the label oject but I want the coordinates relative to the panel object.
|
| Problems adding a timer | 12 Mar 2004 23:33 GMT | 2 |
I am trying to simulate a traffic lights system I have done most of the work and so far the program is working ok. I need to add a timer so that I can show a graphics which shows wait, ready, go accordingly. I am having problems with this. Can anyone help please. I have tried ...
|
| How to write character/string in an arbitrary direction in Swing? | 12 Mar 2004 19:52 GMT | 1 |
Hi all gurus, how can characters/strings be painted in an arbitrary angle/direction, just as sometimes in a map? for example from left lower corner to right upper corner. Thanks.
|
| JTable JScrollPane - which cells are currently visible? | 12 Mar 2004 18:29 GMT | 2 |
Is there an easy way to tell which cells in a JTable (which is contained in a JScrollPane) are currently visible? One solution would be to get the values of the JScrollBars and the dimensions of the cells and do the math, but I was wondering if there was a simpler solution.
|
| Remove grid lines in JTable | 12 Mar 2004 10:56 GMT | 3 |
how do I remove the black colour grid lines in JTable?
|
| How to add data to table cells in JTable programmitically? | 12 Mar 2004 09:31 GMT | 1 |
I have seen many examples on JTable adding data by providing the data into the constructor's arguments. How do I add cell NOT from the constructor, say if along the way, i need to add new data to the table.
|