| Thread | Last Post | Replies |
|
| focus events being received out of sequence | 05 Oct 2005 12:59 GMT | 15 |
I have a complicated applet where each component is registered with multiple focus listeners. I have several pairs of JTextFields and JButtons - textfield A, button A, textfield B, button B etc. Clicking on a JButton normally causes a JTable to be popped and focus
|
| Rendering HTML in a JTextPane | 05 Oct 2005 12:28 GMT | 12 |
is it possible to render a String containing HTML (e.g. <h1>News</h1><p>News text</p>) in a JTextPane showing the String as rendered HTML? Thanks!
|
| Draw over a video | 05 Oct 2005 08:41 GMT | 1 |
Hi, I'm working with a JMF player.I would draw a rectangle over a video, but I don't know how I can do it.I'm testing with JPanel transparent(setOpacity(false)) to create a transparent layer over the plater, but don't work...Can you help me?Thank you very much
|
| setLeftIndent () | 05 Oct 2005 01:54 GMT | 2 |
setLeftIndent() is not indenting left side of paragr, as it says in docs.. only two left-indent methods under StyleConstants: setFirstLineIndent(MutableAttributeSet a, float i) and setLeftIndent(MutableAttributeSet a, float i)
|
| Copy to Clipboard from JTable | 05 Oct 2005 00:14 GMT | 2 |
I have an applet in which the default behavior of ctrl-c will correctly copy the selected cells of a JTable into the Clipboard for later pasting in other applications. However, I want to modify this behavior slightly. I want to add the
|
| focus question | 04 Oct 2005 22:15 GMT | 1 |
this is for IM window.. when window opens I would like focus to be in bottom area (where user types msg) so I set top Area to setFocusable(false); but I also need users to be able to select and copy text from that top Area.. How can I
|
| styles in a JTextPane.. | 04 Oct 2005 21:12 GMT | 1 |
this is for an IM window.. I need to do equivalent of sthg like this: <span class="uid">Username: </span><span class="msgBody">this is my message</span>
|
| want JMenu visible after JMenuItem click | 04 Oct 2005 20:01 GMT | 1 |
I would like my JMenu to stay visible after certain JMenuItem selections are clicked. In particular, I want my JMenu to have two ButtonGroups of JRadioButtonMenuItems. It makes sense for the user to be able to make a selection from each group without the menu disappearing after ...
|
| New GUI to existing application | 04 Oct 2005 18:27 GMT | 3 |
I have a Java application with an own developed Swing GUI which isn't to nice (I'm a developer :-). I wonder if anyone has any ideas of how to create a comercial looking product out of my existing application? I'm thinking of writing plugins to eclipse but need more information if
|
| Event handling in a JPanel | 04 Oct 2005 16:32 GMT | 6 |
Is there a reason why the following actionlistener setup would not work in a JDialog deriven window, when my button is placed within JPanel's (for layout reasons)? public class DateTimeChooser extends JDialog implements ActionListener{
|
| Reloading and display images at runtime | 04 Oct 2005 11:29 GMT | 12 |
I am trying to solve this problem since last week.I had made one JScrollPane and File transfer through sockets.I had sucessfully load and display my first screenshot image.But after my first success i am unable to display my second screenshot image which i download through
|
| Reloading and Redisplay images | 04 Oct 2005 11:27 GMT | 19 |
I am using Java platform:jdk 1.4.1 Windows platform: Windows 98se Problem:I am making one application in which i need to display images
|
| short description on Reloading and redisplaying images at runtime | 04 Oct 2005 10:34 GMT | 9 |
Short discription of the problem: Reloading and redisplaying images: I am using-> Windows:windows 98se Java version: Jdk 1.4.1
|
| too many ListSelectionEvents | 04 Oct 2005 09:34 GMT | 2 |
I have a JList that's inside a JScrollPane from which I am able to make multiple selections from. My problem is that the valueChanged() method gets called when I press the selection with the mouse button, and again when I release the mouse button. So this means whatever I have in ...
|
| Trying to determine how much of the text is displayed in a JTextPane | 04 Oct 2005 09:32 GMT | 1 |
I have a JTextPane, and its size is fixed. I add text to it by using setText. However the text displayed in it is variable length. So if the text is too long it gets wrapped around and truncated. I am trying to determine how much of the text is being displayed. I tried using the
|