Re: Help with JTable column width

2001-04-25 Thread Christian Pesch
but the container of the JTable donates it more spaces. Thus the JTable streches the columns on its own. -- Christian Pesch - Software Engineer [EMAIL PROTECTED] - fon +49.40.325587.505 fax .999 CoreMedia AG - www.coremedia.com - 0700-COREMEDIA Erste Brunnenstraße 1, 20459 Hamburg, Germany CoreMedia

Re: [Advanced-java] Create javadocs

2001-06-18 Thread Christian Pesch
into Java package names. # # @author Christian Pesch DIRS=`find $INSTALL_DIR/classes -type d` for i in $DIRS; do # gnu find: FILES=`find $i -name \*.java -type f -maxdepth 1` FILES=`find $i/* -type d -prune -o -name \*.java -type f -print` if [ -n $FILES ]; then # gnu awk: echo $i | awk

Re: Design guidelines

2002-02-12 Thread Christian Pesch
utilization? - Do not assume, memory gets freed automatically - Always remove your listeners - Finalizers are not the way to free memory - Put long-lasting actions into separate threads - Never forget to switch to the AWT Eventqueue before modifying the GUI. -- Christian Pesch - Software Engineer

Re: Design guidelines

2002-02-13 Thread Christian Pesch
utilization? - Do not assume, memory gets freed automatically - Always remove your listeners - Finalizers are not the way to free memory - Put long-lasting actions into separate threads - Never forget to switch to the AWT Eventqueue before modifying the GUI. -- Christian Pesch - Software Engineer

Re: Automated Testing

2002-04-02 Thread Christian Pesch
Sean McCauliff wrote: What version are you using? 7.0.1 with appropriate Java Add-in for JDK 1.3.1 -Original Message- From: Christian Pesch To: Sean McCauliff; [EMAIL PROTECTED] Sent: 3/28/02 11:37 AM Subject: Re: Automated Testing Sean McCauliff wrote: What tools (if any) do

Re: JTabbedPane repaint

2002-08-28 Thread Christian Pesch
data). Any suggestions? There is JTabbedPane#addChangeListener. As far as the API docs say, it fires a ChangeEvent every time a tab is selected. -- Christian Pesch - Product Maturity Manager CoreMedia AG - http://www.coremedia.com - 0700-COREMEDIA

Re: JTextArea is a memory hog!

2003-01-09 Thread Christian Pesch
the classes and remove the finalize() methods. That has some legal implications if you distribute, but customers do not care, if their product runs. -- Christian Pesch - Product Maturity Manager CoreMedia AG - http://www.coremedia.com - 0700-COREMEDIA

Re: JTextArea is a memory hog!

2003-01-13 Thread Christian Pesch
document is not used anymore. Use a constructor which immediately sets your document. Shouldn't it create them and hang onto them while the JTextArea is in use? IMHO it does until the document changes. See scenario above -- Christian Pesch - Product Maturity Manager CoreMedia AG - http

Re: knowing when JComboBox's data has changed

2003-01-28 Thread Christian Pesch
changed in number of elements? You should wrap a ComboBoxModel around your Vector or subclass DefaultComboBoxModel. As ComboBoxModel is a ListModel, it informs about changes. So if you populate your Vector later, you have to fire (at least) intervalAdded() notifications. -- Christian Pesch