| Thread | Last Post | Replies |
|
| Unable to access data in TableModel?? | 01 Nov 2004 00:14 GMT | 2 |
I have made an app that takes an xml node and display its content in a JTable. THe node is handed to a converter class which reads the information and generates the ArrayList which contains the column labels and the ArrayList of ArrayLists that contains the data. These
|
| GridBagConstraints anchor dilemma | 31 Oct 2004 14:35 GMT | 1 |
I am trying line up a single column of several buttons on the left (West) side of a container but have not been successful. Here is a simple code example to illustrate how I am attempting this: import java.awt.*;
|
| JFileChooser question | 31 Oct 2004 12:35 GMT | 2 |
I would like to customize the JFileChooser so that when a user opens a file there is an extra option on the JFileChooser dialog (an extra tickbox). I am writing a bit analyser so when the user opens a new file (containing the bits) there should be an option for "packed ...
|
| How to make java dispatch mouse events to my component | 29 Oct 2004 20:46 GMT | 3 |
I have a home made panel (which extend JPanel), and a home made graphical component (which extend java.awt.Component). What i want to do is: - when i click on the HomePanel, it's add a HomeComponent to it.
|
| How to create a table in an RTF document | 29 Oct 2004 20:29 GMT | 1 |
Greetings. I am trying to construct an RTF document with Java / Swing (StyledDocument, RTFEditorKit) and then save it. Can anyone give me a quick primer on how to draw a simple table, with a few rows and columns, border perhaps ... I have been scouring
|
| Java based remote desktop Control | 29 Oct 2004 12:23 GMT | 1 |
I am looking for a java based ( preferable using http protocol ) remote desktop contol client-server application. Has any one has experienced such? If so, may I request you to provide pointers or sample code on that. Thanks,
|
| My Component paint method is not get called | 29 Oct 2004 11:24 GMT | 1 |
One more problem in my Component... I have created a Button Component Using fillRect i have drawn the component My test program extends Frame and override the paint method....
|
| Capturing an event when a Textfield changes. | 29 Oct 2004 00:53 GMT | 1 |
In this code fragment: public class FrameLayers extends JFrame { JTextField txtWidth = new JTextField(); public FrameLayers() {
|
| Cannot set "layout" property java.lang.illegalArgumentException | 29 Oct 2004 00:47 GMT | 2 |
I meet some problem in GUI design. I am using JBuilderX. When I switch from source to design, it always pops up error message " Cannot set "layout" property for this -- java.lang.illegalArgumentException: object is not an instance of declaring class. I don't know if it will
|
| Capturing all KeyEvents in the system | 28 Oct 2004 16:45 GMT | 8 |
I am using jdk1.1.18 and jfc-swing-1.1.1 in my appication. This is an embedded system running (what I think is) JWorks on VxWorks, which (again, I guess) is based on the combination I mentioned above and I dont have the option of upgrading to later java versions.
|
| Why does getStringBounds() ignore the text style? | 28 Oct 2004 08:34 GMT | 9 |
I use the following code to determin the width of a string in pixels. The result is correct as long as the used font is set to Font.PLAIN. If I use Font.BOLD the result won't change although the string eats up more space now (oviously).
|
| Scrolling a panel | 28 Oct 2004 06:52 GMT | 2 |
hey all i am having trouble making a panel scroll... on start up of my application the pannel is blank but uses ar able to drag and drop images on to the pannel and once on the pannel the images can be re araged i draw the images on the pannel using the graphics.drawImage()
|
| Help: JScrollPane in a Java Swing GUI | 28 Oct 2004 05:36 GMT | 4 |
I have a GUI that I programmed and one of the Panels in it contains a JTextArea. I set it to scroll with the following code: this.outPanel.add(new JScrollPane(display)); It works fine except that when new data is added though the append()
|
| ListSelectionEvent fired from an empty JTable | 27 Oct 2004 20:31 GMT | 1 |
I have a JTable that initially has no rows ie getRowCount() == 0 But I can still manage to fire ListSelectionEvents by keying tabs. Is this a bug or have I missed something? I have, until now, assumed this was impossible.
|
| Sanity Check Requested For JScrollPane use | 27 Oct 2004 17:21 GMT | 3 |
I extended JPanel into something called a DrawingSurface that is used to render images. I set up a JScrollPane with a DrawingSurface instance as its client. When the drawing surface loads an image, it changes its size by calling setSize(). To my chagrin, my JScrollPane
|