Java UI does not come up using txtContent.setLineWrap(true) API


 
Thread Tools Search this Thread
Top Forums Programming Java UI does not come up using txtContent.setLineWrap(true) API
# 1  
Old 09-23-2008
Java UI does not come up using txtContent.setLineWrap(true) API

Hello ,

I have code which runs on solaris using java 1.2.2 .. UI will not come up when i use the command "txtContent.setLineWrap(true);".. UI gets displayed if do not use it...
______________________________________________________
txtContent = new JTextArea(20,30);
//txtContent.setRows(20);
txtContent.setEditable(false);
txtContent.setLineWrap(true);
txtContent.setWrapStyleWord(true);

JScrollPane scrlStatus = new JScrollPane(txtContent);
_________________________________________________________

Please let me the ways in which i could display using setLineWrap .. Or suggest some alternate with LineWrap functionality..
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Solaris

Java api/sample code for sftp

I'm trying to find an api for Java to send/receive files via sftp. There are some available for purchase out there such as JScape, but I was hoping to find a free one. Does anyone know of one? I would also like to find an open source java example application that can send files via sftp. ... (2 Replies)
Discussion started by: JohnRodey
2 Replies
Login or Register to Ask a Question
ABRT-ACTION-ANALYZ(1)						    ABRT Manual 					     ABRT-ACTION-ANALYZ(1)

NAME
abrt-action-analyze-java - Calculate and save UUID & DUPHASH and determine the level of usability for reporting of a Java stack trace. SYNOPSIS
abrt-action-analyze-java [-v] [-d DIR] [-o] [-f FILE] DESCRIPTION
The tool reads the file named backtrace from a problem data directory, processes it and generates a universally unique identifier (UUID). Then it saves this data as new element uuid. It also checks whether the stack trace contains a remote address in any of its frames and if so it creates not-reportable element whose contents explains why the stack trace should not be reported into a bug tracking system. Integration with ABRT events abrt-action-analyze-java can be used to generate the UUID & DUPHAS of a newly saved Java stack trace. EVENT=post-create analyzer=Java abrt-action-analyze-java OPTIONS
-d DIR Path to a problem directory. The tool reads the backtrace from stdin when neither this option nor -f is provided. -f FILE Path to a stack trace. The tool reads the backtrace from stdin when neither this option nor -d is provided. -o Print the result to stdout. -v Be more verbose. Can be given multiple times. AUTHORS
o ABRT team abrt-java-connector 01/19/2014 ABRT-ACTION-ANALYZ(1)