Results 1 to 4 of 4

Thread: JMenubar option

  1. #1
    navishkumarb is offline Member
    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    0

    Default JMenubar option

    Hi.
    I am using VE in eclipse for building GUI.
    In the GUI whenever I open the files using File --> open option, it always get appended to previously opened text in the Jtextarea instead of overwriting on it.
    So can I just know how to do this.

    And in the reset button I had just written a code like
    TextArea.setText(""); But it doesnot clear anything the previous operations that were runned.
    Like it gives the output of the current as well as the previous operations that were done.
    So can anyone tell me how to fix this?

    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Crosspost: New To Java - JMenubar option

    Please read what JavaRanch says about cross-posting without being forthright about it: [BeForthrightWhenCrossPostingToOtherSites|]JavaRanch - Be Forthright When Cross Posting To Other Sites]

    The same etiquette applies here and in the other programming fora.

  3. #3
    robertbob is offline Member
    Join Date
    May 2010
    Posts
    23
    Rep Power
    0

    Default how to get objects from another class

    sorry mis-post

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    robertbob, please don't stick to others threads, if your question is not related with that. If you want to remove it please ask from one of our moderators. He'll do it for you. :)

Similar Threads

  1. JAX-WS\METRO - apt with option option key="r"
    By Talkinjive in forum Web Frameworks
    Replies: 0
    Last Post: 01-31-2010, 05:15 PM
  2. Create JMenuBar using DataBase
    By arulmozs in forum AWT / Swing
    Replies: 1
    Last Post: 11-03-2009, 12:52 PM
  3. CVS with -f option
    By amiga23 in forum Eclipse
    Replies: 2
    Last Post: 09-22-2008, 03:57 AM
  4. Why to Use J2SE and Option for using this..
    By mgrprasad90 in forum Java Applets
    Replies: 0
    Last Post: 08-27-2008, 10:27 AM
  5. Is JSP the right option?
    By Naga in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-20-2008, 07:48 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
  •