| Home >> All >> com >> arranger >> jarl >> [ ui Javadoc ] |
Source code: com/arranger/jarl/ui/CustomTextArea.java
1 package com.arranger.jarl.ui; 2 3 import javax.swing.*; 4 import java.awt.*; 5 6 /** 7 * CustomTextArea created on Apr 15, 2003 8 */ 9 class CustomTextArea extends JTextArea { 10 Dimension m_dimension = new Dimension(500, 5); 11 Dimension m_prefDimension = new Dimension(500, 20); 12 Dimension m_maxDimension = new Dimension(500, 40); 13 14 public Dimension getPreferredSize() { 15 return m_dimension; 16 } 17 18 public Dimension getMinimumSize() { 19 return m_prefDimension; 20 } 21 22 public Dimension getMaximumSize() { 23 return m_maxDimension; 24 } 25 }