Results 1 to 3 of 3
  1. #1
    illinit is offline Member
    Join Date
    Jun 2011
    Rep Power

    Default I want to put text outputs in the GUI console.

    Hi all,
    I have this java problem , which I need to put the outputs in the GUI.

    It is a sorting program, when I click the key, it sorts by it self.

    First, when I run the program, CLI and GUI console appears.

    However, when I click the key (RUN SORTING), on the CLI - the sorting list eg -> 0:1 , 1: 2 , 2:5 , 3: 50 ...etc, before sorting and after sorting text appears.
    on the GUI console, the sorting progress appears.

    I need to put that information on the CLI into the GUI console at the very bottom.
    Can anyone give me an advise?


  2. #2
    DiamondSoul is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default Re: I want to put text outputs in the GUI console.

    It would be helpful if you showed us your source code.

  3. #3
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Rep Power

    Default Re: I want to put text outputs in the GUI console.

    I'm not sure what your problem is but if you want to display data on the GUI then you need to add it to a JTextfield or a JTextArea.

Similar Threads

  1. Replies: 26
    Last Post: 12-03-2013, 02:55 PM
  2. Replies: 8
    Last Post: 09-12-2011, 01:43 PM
  3. How To Get Text From The Console
    By anthropamorphic in forum New To Java
    Replies: 5
    Last Post: 08-15-2011, 12:48 AM
  4. Replies: 0
    Last Post: 07-22-2011, 12:31 PM
  5. console appender to a text file
    By jazz2k8 in forum Advanced Java
    Replies: 2
    Last Post: 06-25-2009, 02:47 PM

Posting Permissions

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