FocusTraversable « JTextArea « Java Swing Q&A





1. Turning off FocusTraversable for a JTextArea    coderanch.com

Yes, create a subclass and overridde isFocusTraversable() to return false. Feel free to modify and use the following tested code: /*$Id: Output_Text_Area.java$ * * (C) Copyright 2004 by Warren J. Dew * * programmer * yyyymmdd / reviewer change * -------- ---------- ------------------------------------------------------80 * 20040901 WJD/WJD written */ package com.powderhouse.swing; import javax.swing.JTextArea; /** Output_Text_Area public class * * This class is ...