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 3 of 3

Thread: A few questions

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    1
    My Mood
    Confused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default A few questions

    Hi guys I am pretty much a newb to java programming, I can understand the code and when I look at it ik what it does. However when it comes to coding by myself I suck.

    Anyways I was thinking up a really cool program and I know how to make some of it but other parts I have no idea.

    What I need to know is...

    *How do I make a completely custom frame/window.

    *How can I make a search program that searches something on a specific website and displays all the text and info inside the program. Ex: Open my program, type U.S in the search bar and have it display all the information from wikipedias page.

    *And last how can I make my program also load an html embed code for something like say a youtube vid?

    If any of this is possible I would be very grateful if you could tell me how to do it, or atleast show me where I can learn this thanks in advance!


  2. #2
    Member snowguy13's Avatar
    Join Date
    Nov 2011
    Location
    In Hyrule enjoying a chat with Demise and Ganondorf
    Posts
    339
    My Mood
    Happy
    Thanks
    31
    Thanked 48 Times in 42 Posts

    Default Re: A few questions

    *How do I make a completely custom frame/window.
    Extend the JFrame class, and become familiar with Swing and AWT.

    *How can I make a search program that searches something on a specific website and displays all the text and info inside the program
    I suggest learning about the URL class.

    I do not know how to go about your last request. Hopefully you can use ^ to work through your program up to that point, and maybe even figure it out along the way!
    Use highlight tags to help others help you!

    [highlight=Java]Your prettily formatted code goes here[/highlight]

    Using these tags makes your code formatted, and helps everyone answer your questions more easily!




    Wanna hear something funny?

    Me too.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,297
    Thanks
    180
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: A few questions

    Extend the JFrame class
    Just a suggestion - unless there is a strong reason (you need to override methods of the parent class) favor composition over inheritance

Similar Threads

  1. Few questions
    By CSUTD in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 11th, 2011, 09:23 PM
  2. JRE and JDK Questions
    By beer-in-box in forum Computer Support
    Replies: 11
    Last Post: September 16th, 2011, 05:37 PM
  3. Many questions
    By SharpT in forum What's Wrong With My Code?
    Replies: 11
    Last Post: January 18th, 2011, 08:56 PM
  4. A few questions
    By adenverd in forum Java Theory & Questions
    Replies: 3
    Last Post: May 26th, 2010, 03:34 AM
  5. [SOLVED] Some serious questions,
    By Time in forum What's Wrong With My Code?
    Replies: 3
    Last Post: May 17th, 2010, 02:52 AM