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: why do some methods have lines through them

  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    62
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default why do some methods have lines through them

    below is a screen shot of some methods allot of them have lines through them i have googled but cant find out what it means but when i try to use them they dont work but the compilor doesint flag them what does it mean when a method has a line through it?
    Screenshot.jpg


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    3,399
    My Mood
    Mellow
    Thanks
    83
    Thanked 471 Times in 462 Posts

    Default Re: why do some methods have lines through them

    In Eclipse that typically means the method has been deprecated. You should be able to hover over the lined-out method to get a message about why it has been lined out, but I don't use Netbeans so could be wrong.

  3. The Following User Says Thank You to GregBrannon For This Useful Post:

    bean (August 20th, 2013)

  4. #3
    Member
    Join Date
    Apr 2013
    Posts
    62
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default Re: why do some methods have lines through them

    thanks dont have java doc for classes couldint find it will try harder and have a look for bettter solution to problem thanks

  5. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    3,399
    My Mood
    Mellow
    Thanks
    83
    Thanked 471 Times in 462 Posts

    Default Re: why do some methods have lines through them

    Do you mean this API?

  6. The Following User Says Thank You to GregBrannon For This Useful Post:

    bean (August 30th, 2013)

  7. #5
    Member
    Join Date
    Apr 2013
    Posts
    62
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Default Re: why do some methods have lines through them

    Quote Originally Posted by GregBrannon View Post
    Do you mean this API?
    yes thanks

Similar Threads

  1. Getting two lines to collide
    By Mertex in forum What's Wrong With My Code?
    Replies: 3
    Last Post: April 13th, 2013, 06:57 AM
  2. Help with three lines
    By heythisgreg in forum Java Theory & Questions
    Replies: 9
    Last Post: February 17th, 2013, 04:40 PM
  3. Why and where abstract methods & classes and static methods are used?
    By ajaysharma in forum Object Oriented Programming
    Replies: 7
    Last Post: July 14th, 2012, 01:16 AM
  4. [SOLVED] 2 Lines Stuffs.
    By Saintroi in forum What's Wrong With My Code?
    Replies: 9
    Last Post: May 11th, 2012, 08:22 AM
  5. Perpendicular Lines
    By captain in forum Object Oriented Programming
    Replies: 1
    Last Post: March 5th, 2012, 07:46 PM