Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: netbeans TextWindow

  1. #1
    Junior Member masoud's Avatar
    Join Date
    Jul 2012
    Location
    Iran
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default netbeans TextWindow

    Hello guys.
    I use netbeans IDE and I have following problem:
    here is my code:

        public static void main(String[] args) {
            TextWindow tw = new TextWindow("Is it header?");
        }

    simple, but I get following errors:

    can not find symbol
    symbol: class TextWindow
    location: class textwindows.Main

    any help is appreciated
    Last edited by masoud; July 9th, 2012 at 11:41 AM.


  2. #2
    Junior Member masoud's Avatar
    Join Date
    Jul 2012
    Location
    Iran
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: netbeans TextWindow

    I searched in google and I found that I must include "java.awt.Frame" in my project.
    But when I right click on "library" folder and choose "add library" I see no "java.awt.Frame".

    Please help me, if I can not include library I can not learn java, its really different with other programming languages and I don't know what to do.
    Computer Enterprise Masoud Keshavarz
    For more information contact masoudk1990@yahoo.com

  3. #3
    Junior Member masoud's Avatar
    Join Date
    Jul 2012
    Location
    Iran
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: netbeans TextWindow

    Problem solved
    I choose to use "Windows Command Prompt" rather than NetBeans IDE, at least it works.

    And Im going to leave this forum, because no one helped me.
    Bye Bye
    Computer Enterprise Masoud Keshavarz
    For more information contact masoudk1990@yahoo.com

  4. #4
    Junior Member masoud's Avatar
    Join Date
    Jul 2012
    Location
    Iran
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: netbeans TextWindow

    Just because I want to help if some one had my problem and found this thread in google search.
    I used this step by step tutorial:
    Create Textarea in Java,JText Area Example,How to Create Text Area in Java
    Computer Enterprise Masoud Keshavarz
    For more information contact masoudk1990@yahoo.com

  5. #5
    Member
    Join Date
    Jul 2012
    Posts
    83
    My Mood
    Cynical
    Thanks
    3
    Thanked 9 Times in 9 Posts

    Default Re: netbeans TextWindow

    Sorry to be blunt, but yours was a terrible question. What is a "TextWindow"? That class does not exist in core Java, and if it is your class that you've written, you've told us nothing about it. I'll bet that you'd bet better help here if you asked a better question, but that's entirely up to you. This site can help you ask a better question. I know because it has helped me.

Similar Threads

  1. Netbeans GUI help
    By kprofgold in forum AWT / Java Swing
    Replies: 1
    Last Post: February 26th, 2012, 08:02 AM
  2. Help with NetBeans plz
    By moriarity in forum Object Oriented Programming
    Replies: 3
    Last Post: January 12th, 2012, 05:39 AM
  3. Netbeans 6.8
    By selmaky in forum Java IDEs
    Replies: 1
    Last Post: May 14th, 2011, 03:08 PM
  4. New to NetBeans
    By _lithium_ in forum Java IDEs
    Replies: 0
    Last Post: March 1st, 2011, 08:48 PM
  5. Netbeans help
    By [Kyle] in forum Java IDEs
    Replies: 2
    Last Post: September 20th, 2009, 06:32 PM