Results 1 to 3 of 3
  1. #1
    ark
    ark is offline Senior Member
    Join Date
    Apr 2015
    Posts
    288
    Rep Power
    5

    Default Layout of textarea in JPanel

    Yet I have additional question when reading from file to Textarea -main subject of these -- through textArea.append(), I should wait a very lot time to the last lines to append, I even do not know is it possible in the whole as there are about 400 000 lines tags for disk C: file properties. So I need to have some timer(in seconds or minutes) after which the appending would stop automatically no manually -- is there such tool?

  2. #2
    ark
    ark is offline Senior Member
    Join Date
    Apr 2015
    Posts
    288
    Rep Power
    5

    Default Re: How display streamresults in JTextArea (Jlabel)

    I have such relative question -- why I add Jetxtfiled (as well as other conponents) to Jpanel, -- contentPane.add(textField); -- and just
    textField is about 80% height of screen, so its like textarea--with so big while space-but just single line active? What is up?

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,001
    Rep Power
    33

    Default Re: Layout of textarea in JPanel

    Make a small simple program that compiles and executes to show the problem.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. poblem in making textarea scrollable over JPanel
    By kumar.dinesh7 in forum AWT / Swing
    Replies: 7
    Last Post: 05-15-2012, 09:44 AM
  2. Grid Layout change layout alignment of control s
    By rellicott in forum SWT / JFace
    Replies: 1
    Last Post: 02-13-2012, 05:11 PM
  3. Components Layout in a JPanel
    By jboy in forum New To Java
    Replies: 4
    Last Post: 10-11-2009, 12:08 PM
  4. Can't resize textarea in JPanel Form
    By wiguy in forum NetBeans
    Replies: 0
    Last Post: 04-02-2009, 10:58 AM
  5. JPanel / layout problems
    By Warhorsei in forum AWT / Swing
    Replies: 4
    Last Post: 06-04-2008, 05:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •