Swing / AWT / SWT / JFace
- "" in JEditorPane get lost after changing attributes
- Fri, 21 Sep 2007 03:36:00 GMT
- Hello AllI have a little application, a html-editor, where i can edit some attributes like font-family, font-weight and so on.here an example how i change the font-family:Element ele = dokument.getCharacterElement(cursorpos);AttributeSet a = ele.getAttributes();MutableAttributeSet b = new ...
- ""Very Urgent help required for JList"
- Thu, 20 Sep 2007 09:01:00 GMT
- I have two JLists. I have two buttons called "Add" and "remove". I need to remove from left box and add to write box. And it should always add in right alphabetical order. This is a hint for that. i am using default list model. Left hand side is mTypeModel and right hand side is mStypeModel. I ...
- "...not abstract & does not override abstract method..."
- Wed, 16 Jul 2008 18:57:00 GMT
- Thanks for all the help from the experienced Java folks that I have received on this forum so far. I am still working on getting a text string from the user into my code. Since I am using J-Link with Pro/Engineer CAD software I cannot use "JOptionPane.showInputDialog" or similar because the wind...
- "add" method
- Wed, 16 Jul 2008 19:17:00 GMT
- I have a program that is suppose to allow the user to press enter to move to the next textfield. My instructor says I need a "add" method that will put a listener into the vector. My problem is that I don't know really how to write this statement. There is a lot of code to this and I'm n...
- "adding images to textpane & textfield"
- Wed, 19 Sep 2007 06:09:00 GMT
- hai,I am developing a chat applet project.I wish to add images at a specified place in textpane.Moreover when a button is clicked ,an image is to be added to a textfield.How can i get X and y position in textfield.This is very urgent.Kindly help me at once.Contact me .thatisjava.com. ...
- "Alt-Tab" for Disabled Frame under Windows
- Thu, 20 Sep 2007 02:22:00 GMT
- when i set a frame setEnabled( false );I cannot toggle it using "Alt-Tab" under WindowsThe frame is disappear from the list.Any setting make this possible under the frame is not enabled...
- "Always on top" with Java 1.4
- Wed, 16 Jul 2008 18:55:00 GMT
- Hello,i need a "always on top" functionality for a Frame (Swing).Unfortunately it is not possible to use Java 1.5 (which has a new Method .setAlwaysOnTop(boolean) )Is there a workaround for a Java 1.4 Version? How was this functionality realized with earlier Java versions?Best regardsAndr...
- "Always on TOP"option for my window
- Thu, 20 Sep 2007 08:14:00 GMT
- Hi AllI am developing an application in which I wanted to develop a facility for enabling "always stay on top" to one of the windows .How can I do this.Thanks in advanceHaritha ...
- "Any body Help, Urgent"
- Wed, 16 Jul 2008 18:31:00 GMT
- I have created a desktop application using IDE it displays the contents of the database table. Till there its ok i can understand, now i want to add extra functionality to the same application like at first it should ask for login name and password then in the next dialog with few buttons like a...
- "Auto"dismissing windows
- Tue, 18 Sep 2007 09:49:00 GMT
- I'd like to create a JWindow that "autodismisses" i.e. sets itself to invisible when you click anywhere off it. I've tried to do this by adding a focusListener and doing it on focusLost of the window, but this seems to cause weird behavior (sometimes it gets in a state when it will never get ...
- "Autosuggestion" in a JComboBox
- Wed, 19 Sep 2007 12:56:00 GMT
- Hi!I fill my editable JComboBox with data from a database.And now it would be nice for the user that when text is entered in the JComboBox the box automatically suggests a value which is already in the box and beginns with the same letters.For example:Values in the box: Apple, Banana, AnanasThe ...
- "bad" FocusLost in jtable when cell editing
- Fri, 21 Sep 2007 07:00:00 GMT
- hi folks,hopefully, some of you have some lines for solving my problem:when i get a DoubleClick in a jtable cell for editing, i get a FocusLost event, but i dont want this! i only want to know wheni "really" leave the jtable, not only for editing a cell of thissame jtable.is this a bug? or a ...
- "Bubble" cells with JTable?
- Fri, 21 Sep 2007 21:36:00 GMT
- Hi, I am working on a project that will have a JTable with n x n rows/cols. I would like to know if there is any way to make each cell of the table look like a "bubble" i.e. raised sort of like how a calculator's buttons look. My initial thought is to add raised JButtons to each cell but I was ...
- "Building Imaging Applications with Java"
- Fri, 21 Sep 2007 04:07:00 GMT
- Hello!Does anyone know the book "Building Imaging Applications with Java" from Larry Rodrigues well (really worked through the chapters)?Have a question which is very difficult to explain when you don't know his code.RegardsCarsten...
- "Building" a BufferedImage
- Fri, 21 Sep 2007 17:27:00 GMT
- Hello-I would like to "build" a new BufferedImage object, basically out of a rectangle and an existing Image object. Essentially I would like to create a BufferedImage that is of size, say (500x400) that is filled with any color and has an existing, smaller image centered inside of it (say the ...
- "cannot resolve symbol" error when using super.paintComponent
- Thu, 20 Sep 2007 18:51:00 GMT
- I am trying to override the paintComponent method in a class extending a JFrame, but when I call super.paintComponent(g) from inside the overridden method I get the errorQubicGUI.java:63: cannot resolve symbolsymbol : method paintComponent (java.awt.Graphics)location: class ...
- "ClassNotFoundException" loading custom LookAndFeel class
- Tue, 18 Sep 2007 04:05:00 GMT
- Hi!I created a custom LaF for my application. It works fine after registering e.g. my new ButtonUI in the myLookAndFeel class:Object[] uiDefaults = {"ButtonUI", myPackageName + "myButtonUI","CheckBoxUI", metalPackageName + "MetalCheckBoxUI",....The main program looks something ...
- "close" button customized
- Wed, 19 Sep 2007 07:47:00 GMT
- Hi everybody !Well, I'd like to customize the look of close, minimize and resize buttons of my frame.Can someone help me, please ? thank you in advance.delph...
- "ComboBox Listeners"
- Fri, 21 Sep 2007 08:21:00 GMT
- Have anyone ever faced all these problems togather?Scenarion:I have a View(According to the MVC structure) that extends a JFrame. In this view I have a JPanel that has comboBoxes and JTextField. These components hold different kind of data types. JTextField holds(int, long, String etc). The ...
- "Could not find the main method. Program will exit!" error message
- Tue, 18 Sep 2007 10:10:00 GMT
- Hi,I'm programming with JBuilder 5 and I've got this error message from the Java Virtual Machine launcher when I try to run my program. I don't understand because I've got a main method and I cheked all my lines of code and everything seams to be ok.... Do you know what it's mean? what I ...
- "CUT, COPY & PASTE IN JTREE",
- Wed, 19 Sep 2007 04:20:00 GMT
- Hi! I have posted this message two days before and got no replies.http://forum.java.sun.com/thread.jsp?forum=57&thread=246415Can any one of you solve my problem please.Thanks in advance,AK ...
- "dd/MM/yy", "UU", "!AAA" dataentry patterns
- Fri, 21 Sep 2007 07:56:00 GMT
- is there a way to enforce such patterns as rules during dataentry in swing?Thank youCostis Aivalis...
- "Dead" buttons in JTable cells
- Tue, 18 Sep 2007 09:50:00 GMT
- The code below places buttons in a JTable's cells. However in my table the buttons do not function -- they are more like graphics placed in the cells.There must be a conflict with some other code in my table.What should I look for? What sorts of code would cause such conflicts? Many thanks in ...
- "destroying" a JPanel
- Wed, 16 Jul 2008 19:00:00 GMT
- Does anyone know if there is a way to completely destroy a JPanel?When a JDialog is destroyed with dispose() everything is cleaned up nicely. Is there a way to do something similar with other components such as a JPanel?...
- "Details View" in JFileChooser
- Wed, 16 Jul 2008 19:11:00 GMT
- When I load my JFileChooser, I want the file listing inside it to default to the "Details View" rather than the "List View".How do I do that? I know that I have to approach this using the FileChooserUI class...but I couldn't find any methods that let me access the "Details View" and the "Lis...
- "Details View" in JFileChooser
- Fri, 21 Sep 2007 14:20:00 GMT
- When I load my JFileChooser, I want the file listing inside it to default to the "Details View" rather than the "List View".How do I do that? I know that I have to approach this using the FileChooserUI class...but I couldn't find any methods that let me access the "Details View" and the "List ...
- "Duke Dollar & JTableEditor"
- Thu, 20 Sep 2007 22:57:00 GMT
- Dear All Java Programmers,I know this forum is for knowlwdge sharing. But none replies if no "Duke Dollar" is offerred. I have finished all my dollars. Hope there will be some people who will reply without the dollars.I almost have spent 1 week on this problem. Can you help with any solution. ...
- "Dynamic" HTML in JEditorPane
- Thu, 20 Sep 2007 07:10:00 GMT
- Hi !I have a problem with "dynamic" HTML in a JEditorPane... It's not really DHTML, but an applet receiving HTML code via a servlet, and creating a HTML document with it...but the problem is that le HTMLKit has problems with such documents. Here is a part of the javadocsetTextpublic void ...
- "Editable JButton"
- Tue, 18 Sep 2007 13:01:00 GMT
- Folks's,i'm looking for a way of creating something that looks like a JButton (plus the action bit if pressed) but at the same time has a label which the user can edit, ie modify the string that is shown. my action would then take the string, whatever it currently is and process it.has ...
- "empty" labels - problems with box layout
- Fri, 21 Sep 2007 17:05:00 GMT
- hi,i want to use empty labels in a vertical box layout but for some reason the preferred size for this labels don't work. the size of the labels is always set back to 0 (guess because of the box layout. it worked fine with a flow layout). is there a way to get a fixed size of this labels ...
- "Swing / AWT / SWT / JFace" Related Questions
- "...not abstract & does not override abstract method..."
- Thanks for all the help from the experienced Java folks that I have received on this forum so far. I am still working on getting a text string from the user into my code. Since I am using J-Link with Pro/Engineer CAD software I cannot use "JOptionPane.showInputDialog" or similar because the wind...
- "Always on top" with Java 1.4
- Hello,i need a "always on top" functionality for a Frame (Swing).Unfortunately it is not possible to use Java 1.5 (which has a new Method .setAlwaysOnTop(boolean) )Is there a workaround for a Java 1.4 Version? How was this functionality realized with earlier Java versions?Best regardsAndr...
- "" in JEditorPane get lost after changing attributes
- Hello AllI have a little application, a html-editor, where i can edit some attributes like font-family, font-weight and so on.here an example how i change the font-family:Element ele = dokument.getCharacterElement(cursorpos);AttributeSet a = ele.getAttributes();MutableAttributeSet b = new ...
- "Alt-Tab" for Disabled Frame under Windows
- when i set a frame setEnabled( false );I cannot toggle it using "Alt-Tab" under WindowsThe frame is disappear from the list.Any setting make this possible under the frame is not enabled...
- "ComboBox Listeners"
- Have anyone ever faced all these problems togather?Scenarion:I have a View(According to the MVC structure) that extends a JFrame. In this view I have a JPanel that has comboBoxes and JTextField. These components hold different kind of data types. JTextField holds(int, long, String etc). The ...
- "dd/MM/yy", "UU", "!AAA" dataentry patterns
- is there a way to enforce such patterns as rules during dataentry in swing?Thank youCostis Aivalis...
- "CUT, COPY & PASTE IN JTREE",
- Hi! I have posted this message two days before and got no replies.http://forum.java.sun.com/thread.jsp?forum=57&thread=246415Can any one of you solve my problem please.Thanks in advance,AK ...
- "Building Imaging Applications with Java"
- Hello!Does anyone know the book "Building Imaging Applications with Java" from Larry Rodrigues well (really worked through the chapters)?Have a question which is very difficult to explain when you don't know his code.RegardsCarsten...
- "add" method
- I have a program that is suppose to allow the user to press enter to move to the next textfield. My instructor says I need a "add" method that will put a listener into the vector. My problem is that I don't know really how to write this statement. There is a lot of code to this and I'm n...