forcing a single 'row' of tabs in a JTabbedPane

2001-04-02 Thread Farwell, Paul
Does anyone know how to prevent the tabs of a JTabbedPane from stacking in multiple 'runs' when the layout shrinks? I want to keep all of the tabs on a single row, even if the layout can't show them all at once. Unfortunately, the code that calculates the number of runs is buried deep in the low

Re: super layout manager help

2001-04-02 Thread Steve Barrett
You are preaching to the choir, there's simply no substitute for training and a bit of self-motivation.. On the other hand if I can make life a bit simpler for folks it is certainly worth my time. I don't know if you had time or the motivation to look through the code or the example, but if you

Re: super layout manager help

2001-04-02 Thread Greg Munt
Get your 'old programmers' to read up on layout managers. If they are too lazy to do so, I don't see that as justification for what is effectively reinventing a GridBagLayout. Use of an IDE's GUI editor would be better, IMO. GridBagLayout is a complex layout manager. Complex components are just t

RE: registerKeyboardAction vs. addKeyListener

2001-04-02 Thread Farwell, Paul
Thanks, Jeanette. You are correct again. The FocusManager is getting (and consuming) the TAB characters. You are also correct that the JPanel doesn't really need to intercept the key strokes. I did that only because it fit my design better. What I am now doing instead is to create a subclass of J

Re: registerKeyboardAction vs. addKeyListener

2001-04-02 Thread Kleopatra
"Farwell, Paul" schrieb: > The FocusManager is getting (and consuming) the TAB characters. You are also > correct that the JPanel doesn't really need to intercept the key strokes. I > did that only because it fit my design better. What I am now doing instead > is to create a subclass of JButton

Re: super layout manager help

2001-04-02 Thread Greg Munt
What does this layout manager do that java.awt.GridBagLayout does not? Fixed positioning is achieved with a null layout. Why would you want to simulate other layout managers? Just use the layout manager you need, rather than reimplementing it. This seems like a waste of effort to me. -Origi

Re: How can i develop a mailserver using swing.

2001-04-02 Thread Greg Munt
I don't see how a mailserver implementation requires a GUI. Unless you mean admin tools.. -Original Message- From: ravi kanth <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, April 02, 2001 09:21 Subject: How can i develo

How can i develop a mailserver using swing.

2001-04-02 Thread ravi kanth
Hi, I need to develop a mailserver in Swing can anyone guide me through with documentation,any referal sites where i can find info are welcome. Ravi. _ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.c