Hello, I want to be able to set different colors in different parts in a JEditorPane. In order to do that, I try to use the setCharacterAttributes method in...
Perico
sostersaser@...
Nov 2, 2001 12:41 am
2601
Hello, in my Java application, data in a table can be modified only by program -calling a method- (not because a user edits the table). In such situation, I...
sostersaser@...
Nov 2, 2001 9:46 pm
2602
I would like to know where a particular key was stroke in a component. I see that JDK 1.4 provides a method in the KetEvent class -- getKeyLocation() However,...
Reinstein, Lenny
Leonard.Reinstein@...
Nov 3, 2001 11:35 pm
2603
Hello, 1) I've got a JEditorPane in a JScrollPane. When a line does not fit in the JEditorPane, the remaining text appears in the following line. However, I'd...
Perico Perez
sostersaser@...
Nov 5, 2001 4:06 pm
2604
Hello all - Does anyone know if (and how) the background color of a JButton in its selected state can be changed - I'm trying to get rid of the gray. The...
Marie Alm
malm@...
Nov 8, 2001 6:31 pm
2605
If JComponent.setBackground(Color) doesn't work, you might try setting the "Button.background" UIManager property. Hope that helps, pf ... From: Marie Alm...
Farwell, Paul
PFarwell@...
Nov 9, 2001 1:41 am
2606
Thanks but that sets the background of the button in its resting/un-selected state. As I said, I'm looking for a way to set the background color when the...
Marie Alm
malm@...
Nov 9, 2001 1:58 am
2607
Sorry for not reading your question more carefully... We have been able to get this sort of effect by making the button transparent, allowing it to have the...
Farwell, Paul
PFarwell@...
Nov 9, 2001 2:26 am
2608
** Short version: Does anybody know of a DOS only JVM that supports Swing (through BGI or VESA instead of the OS's graphics routines). ** Long version: You're...
KC_Eilander@...
Nov 9, 2001 4:07 pm
2609
Thanks to all for the help. I use the System LAF which is Motif on Solaris. Yes, I looked at much of the UI source code. The ButtonUI just extends ComponentUI...
Marie Alm
malm@...
Nov 9, 2001 7:29 pm
2610
... Why? Swing is a desktop GUI. Use a different GUI toolkit for home automation. See Espial for just one example. Swing is too heavyweight for embedded...
Frank D. Greco
fgreco@...
Nov 10, 2001 2:30 pm
2611
Dear All, I like to know how signing is done for jar files that work for both Internet Explorer and Netscape communicator. In case of IE, Siging is done ...
Samivelu, Srinivasan
srinivasan.samivelu@...
Nov 12, 2001 4:32 am
2612
Hi Everyone, I need to help with this problem relating to JScrollbar. I want to identify the differences between 1) when a user scrolls with moving the nob 2)...
ODonovan_Cathal@...
Nov 12, 2001 4:45 pm
2613
Dear All, I am developing a Java application in which i need to display xml file in an UI component. Can anybody suggest me the Java Component that will best...
Samivelu, Srinivasan
srinivasan.samivelu@...
Nov 13, 2001 10:35 am
2614
Erm.. If all you want to do is display the file, use a text area? Maybe (hopefully) I am missing something? ... From: "Samivelu, Srinivasan"...
Greg Munt
greg@...
Nov 13, 2001 11:02 am
2615
Thanks Greg Munt. But i want to know how put the xml file in the same way if it were invoked by browser. Like, the xml file displayed in the UI Component...
Samivelu, Srinivasan
srinivasan.samivelu@...
Nov 13, 2001 11:18 am
2616
Which browser? XML support varies widely between different web browsers. Presumably you just mean the syntax colouring provided by IE. Have you researched the...
Greg Munt
greg@...
Nov 13, 2001 11:51 am
2617
Hi, A menu that has for example, "small, medium, large". We have several different font sizes within the application so we set them all relative to a user...
Roger Blanken
Roger@...
Nov 13, 2001 4:38 pm
2618
Has anyone done a comparison of Sun's Java Web Start to Sitraka's DeployDirector? What are the relative advantages/disadvantages of the two? The fact that...
Farwell, Paul
PFarwell@...
Nov 14, 2001 3:42 pm
2619
... Why do you say that? If anything, Sun is increasing support given Bill Gates screwing the world by removing the JVM from the XP browser. You can download...
Frank D. Greco
fgreco@...
Nov 14, 2001 5:17 pm
2620
You are probably correct. I am overstating the case by saying that Sun might drop support for the plugin. After XP, it will be the only way to run applets....
Farwell, Paul
PFarwell@...
Nov 15, 2001 2:05 am
2621
... See the IceBrowser if you want a production-quality HTML renderer; Use JEditorPane for a cheapo one in a rich-client. ... As I mentioned, once people see...
Frank D. Greco
fgreco@...
Nov 15, 2001 3:09 am
2622
Hi! Friends.. I know this question may look a bit trivial.. but I am stuck in it. I wanted to know that if there is any way by which we could explicitly close...
Vikram
vkumar@...
Nov 15, 2001 4:44 am
2623
... What's wrong with setVisible(false)? Or am I missing something here? Greetings Jeanette _______________________________________________ Advanced-swing...
Kleopatra
fastegal@...
Nov 15, 2001 9:42 am
2624
... Hi! ... You can try "setVisible(false)", but this seems to make problems when selecting another Menu. You can also try ...
Michael Roehrl
michael.roehrl@...
Nov 15, 2001 9:59 am
2625
Hi! setVisible(false) may work.. but that would mean that the popup still remains in the memory. Any method say corresponding to dispose() of the Dialog. ...
Vikram
vkumar@...
Nov 15, 2001 10:00 am
2626
thanks.. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? thanks in...
Vikram
vkumar@...
Nov 15, 2001 10:13 am
2627
... You're welcome. ... Exactly as I wrote. "defaultManager()" is a static method in MenuSelectionManager and returns the default MenuSelectionManager. On this...
Michael Roehrl
michael.roehrl@...
Nov 15, 2001 10:24 am
2628
thanks a lot....................... it worked.... vikram ... -- Yesterday is history. Tomorrow a mystery. Today is a gift. That's why it's called the...
Vikram
vkumar@...
Nov 15, 2001 10:30 am
2629
Dear All I want set the size of the button dynamically based on its label. Can anybody throw light on it. Thanks in advance Srinivasan ...