Re: Tooltips in JList

2001-06-07 Thread Arnaud Hallais
--- Original Message - From: Greg Munt To: Arnaud Hallais ; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 5:46 PM Subject: Re: Tooltips in JList IIRC DefaultListCellRenderer returns JLabels cast to Component.

Re: showing tooltips when content's length is more than JTable cell width

2001-10-08 Thread Arnaud Hallais
override JTable.getToolTipText(MouseEvent event) to return a text when the cell text is too wide and null otherwise. If the return tooltip text is null, no tooltip is shown. I didn't test it but it should work (I used this for JList) Don't forget to register your table to the ToolTipManager with

Re: Font warnings when running via remote X display

2002-04-25 Thread Arnaud Hallais
Salut Well, look in the file jre/lib/font.properties for font properties setting. We had the problem here, but since the admin installed a font xserver, we do not have anymore undefined font. But sorry I don't know much more on font xserver. Other solution, use another font for zapfdingbat

Tooltips in JList

2001-06-06 Thread Arnaud Hallais
Hello, I'd like to make a JList which displays different tooltips depending on which item the mouse is on. Is there any simple way to do this, I did not find it, sorry! 1 - I tryed to overwrite the JList method getToolTipText() but I am missing the position of the mouse so I can't

Re: Tooltips in JList

2001-06-07 Thread Arnaud Hallais
--- Original Message - From: Greg Munt To: Arnaud Hallais ; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 5:46 PM Subject: Re: Tooltips in JList IIRC DefaultListCellRenderer returns JLabels cast to Component.

Re: Tooltips in JList

2001-06-07 Thread Arnaud Hallais
the JList, which paints them in its own graphical context. So setting a tooltips on these components is useless. thanks for every one help - Original Message - From: Marijn H. van der Ploeg To: Arnaud Hallais ; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTE

Re: Problems with the size of a panel.

2001-10-19 Thread Arnaud Hallais
What is the purpose of using an extra panel between your table and the ScrollPane. here is some code I use to have a table ina scrollpane. And after I change the scrollpane size (setMinimunSize, setPreferreSize ...) JTable myTable = new JTable(); JScrollPane myScrollPane = new JScrollPane();

Re: showing tooltips when content's length is more than JTable cell width

2001-10-08 Thread Arnaud Hallais
serious way since you know what kind of object getValueAt returns } else return null; a++ - Original Message - From: panyamkm [EMAIL PROTECTED] To: Arnaud Hallais [EMAIL PROTECTED] Sent: Monday, October 08, 2001 4:44 PM Subject: Re: showing tooltips when