This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
package org.netbeans.modules.web.taglibed.view;
import java.awt.Font;
import javax.swing.UIManager;
public class MultiLineLabel extends javax.swing.JTextArea {
super();
this.setLineWrap (true);
this.setWrapStyleWord(true);
this.setBackground ((java.awt.Color) javax.swing.UIManager.getDefaults ().get ("Label.background")); // NOI18N
this.setEditable (false);
// this.setFont (new java.awt.Font ("SansSerif", 0, 11));
this.setFont (new java.awt.Font ("Dialog", 0, 11)); // NOI18N
this.setFont (new Font ("Dialog", 0, // NOI18N
((Font)UIManager.getDefaults().get ("TextArea.font")).getSize())); // NOI18N
}