How to add a JButton in the Divider of JSplitPane

2002-08-14 Thread Panyam Krishna Murthy
Hi All, I wan't to adda JButton in the Divider of JSplitPane. How can I achieve this ? Please Suggest. -Thanks and Regards Panyam Krishna Murthy

Re: How import affect the performance?

2002-06-25 Thread Panyam Krishna Murthy
import java.util.* compared with: import java.util.Vector cause any added overhead? Imports of the type java.util.Vector; are referred to as single type import Imports of the form java.util.*; are referred to as import on demand Both import on demand and single type import are passive

changing internal frame title bar colors

2002-01-18 Thread Panyam Krishna Murthy
Hi, I am trying to change the JInternalFrame title bar colors like this UIManager.put("InternalFrame.activeTitleBackground", new ColorUIResource(DEFAULT_SELECTED_TITLE_BAR_BG_COLOR));UIManager.put("InternalFrame.activeTitleForeground", new

changing the JInternalFrame minimize,maximize and closed icons

2002-01-16 Thread Panyam Krishna Murthy
Hi, Can weset the JInternalFrame minimize,maximize and closed icons? Thanks and Regards-panyam

JPopupMenu problem on JTableHeader

2001-11-21 Thread Panyam Krishna Murthy
Hi, I am showing a JPopupMenu on JTableHeader but its visibility is not proper, sometimes it shows only half popupmenu and another half will be inside the scrollpane.This happens only when the part of column is inside the scrollpane. I tried but due to dynamic increase in column widths I

Garbage instead of Japanese characters

2001-11-19 Thread Panyam Krishna Murthy
I am localizing a Java application for Japanese NT, and I have some problems. The font is not mapped to any existing Japanese fonts. So I see garbage (boxes) instead of Japanese characterswhere I am setting the labe font as LabelObject.setFont(new Font("MS Sans Serif", Font.BOLD, 19)); I

Re: Transparent Menus

2001-11-16 Thread Panyam Krishna Murthy
Hi, Thank u . Thanks and Regards -panyam - Original Message - From: Lei Gao To: panyam ; [EMAIL PROTECTED] Sent: Friday, November 16, 2001 11:27 PM Subject: Re: Transparent Menus Yes, Just read

Re: JTree and DefaultTreeCellRenderer

2001-05-28 Thread Panyam Krishna Murthy
i don't know how u r managing the level one and level two nodes.,. if u r managing with only levels then u can use the following code., public Component getTreeCellRendererComponent(JTree tree, Object value,boolean selected, boolean expanded, boolean leaf, int row,boolean hasFocus)

Re: Different colors for the same DefaultMutableTreeNode and a Cell in JTable

2001-05-24 Thread Panyam Krishna Murthy
Title: Message hi.,. Thank u., Thanks alot to u and Joel bye panyam - Original Message - From: [EMAIL PROTECTED] To: 'Panyam Krishna Murthy' ; [EMAIL PROTECTED] Sent: Saturday, May 26, 2001 03:49 AM Subject: RE: Different colors for the same DefaultMutableTreeNode

Re: Radio button in JTable

2001-03-26 Thread PANYAM KRISHNA MURTHY
return pnl; } public Object getCellEditorValue() { if(btnFive.isSelected() == true) return "5"; if(btnFour.isSelected() == true) return "4"; if(btnThree.isSelected() == true) return "3"; if(btnTwo.isSelecte