Trying to make a clearscreen in Java

try to help me..

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4

45 Replies - 8851 Views - Last Post: 14 August 2009 - 08:30 PM Rate Topic: -----

#31 ice_skate3   User is offline

  • D.I.C Head

Reputation: -6
  • View blog
  • Posts: 78
  • Joined: 13-March 09

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 01:52 AM

View PostFreezingDigits, on 14 Aug, 2009 - 12:48 AM, said:

Alright, just asking as I don't see the real reason of it unless you're deleting the stored information under a specific name like you would do in a phone book.


ahe its ok ler!

god bless ^.^
Was This Post Helpful? 0
  • +
  • -

#32 virgul   User is offline

  • D.I.C Regular

Reputation: 44
  • View blog
  • Posts: 269
  • Joined: 18-March 09

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 02:24 AM

right here
System.out.println("ID		  : "+id);
System.out.println("First Name  : "+fname);
System.out.println("Last Name   : "+lname);
System.out.println("Age		 : "+age);


you should do this to make it not print the 0's
if(id==0 && age==0)
{
System.out.println("ID		  : ");
System.out.println("First Name  : "+fname);
System.out.println("Last Name   : "+lname);
System.out.println("Age		 : ");
}else{
System.out.println("ID		  : "+id);
System.out.println("First Name  : "+fname);
System.out.println("Last Name   : "+lname);
System.out.println("Age		 : "+age);}



im sure there are better ways of doing it but this should work, and gives you more output options
Was This Post Helpful? 0
  • +
  • -

#33 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4933
  • View blog
  • Posts: 20,259
  • Joined: 24-September 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 05:54 AM

Isn't this your third topic about the same question?
Was This Post Helpful? 0
  • +
  • -

#34 Locke   User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 552
  • View blog
  • Posts: 5,624
  • Joined: 20-March 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 07:01 AM

View Postice_skate3, on 14 Aug, 2009 - 12:36 AM, said:

YOu shut up old man!

you're are not helping!


That's not helping either...:rolleyes:
Was This Post Helpful? 0
  • +
  • -

#35 markhazlett9   User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 61
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 09:27 AM

ROFL if you don't want our help please go somewhere else. We are trying very hard to answer your question. LOOK very closely at your code. As I've said and multiple other members in this thread have said it's a LINKED LIST. This will do absolutely NOTHING to the console. It will however delete things in memory when you delete an item from your linked list. But again, this will do nothing to the console...

Cheers

Ps. Just please read KYA's new post on clearing the console in java :D

http://www.dreaminco...topic120200.htm

Cheers
Was This Post Helpful? 0
  • +
  • -

#36 KYA   User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3213
  • View blog
  • Posts: 19,241
  • Joined: 14-September 07

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 09:29 AM

I do what I can ;)
Was This Post Helpful? 0
  • +
  • -

#37 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 09:33 AM

Epic thread is epic.
Was This Post Helpful? 0
  • +
  • -

#38 NeoTifa   User is offline

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4933
  • View blog
  • Posts: 20,259
  • Joined: 24-September 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 09:40 AM

View Postice_skate3, on 13 Aug, 2009 - 10:36 PM, said:

View PostNeumann, on 13 Aug, 2009 - 06:57 PM, said:

View Postice_skate3, on 12 Aug, 2009 - 09:06 AM, said:

ican you fix it? huhuh!

What the fuck?


YOu shut up old man!

you're are not helping!

haven't your parents taught you a good manner?

instead of answering the question, you answered it in a wrong way!

UNPROFESSIONAL!!

disgusting!


ROFL!!!!
Was This Post Helpful? 0
  • +
  • -

#39 baavgai   User is offline

  • Dreaming Coder
  • member icon


Reputation: 7507
  • View blog
  • Posts: 15,558
  • Joined: 16-October 07

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 10:09 AM

Wow. Just, wow.

There's ignorance, a state where every student starts.

Willful ignorance, where the student simply refuses to learn the lesson.

And then, here, we have violent ignorance. Where the lesson is meaningless as the student has their own misbegotten idea and will continually reassert said idea, at progressively higher volume, disregarding all contrary opinion.

I believe there is a future here as a politician or perhaps a zealot of some kind. Good luck with that. :crazy:

This post has been edited by baavgai: 14 August 2009 - 10:09 AM

Was This Post Helpful? 0
  • +
  • -

#40 Gloin   User is offline

  • Expert Schmexpert...
  • member icon

Reputation: 235
  • View blog
  • Posts: 4,489
  • Joined: 04-August 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 10:24 AM

Actually, there is a method in Java for clearing the console which is equal to the System("cls"); in C++.
Was This Post Helpful? 0
  • +
  • -

#41 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 16479
  • View blog
  • Posts: 65,313
  • Joined: 12-June 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 10:27 AM

View Postice_skate3, on 14 Aug, 2009 - 12:36 AM, said:

View PostNeumann, on 13 Aug, 2009 - 06:57 PM, said:

View Postice_skate3, on 12 Aug, 2009 - 09:06 AM, said:

ican you fix it? huhuh!

What the fuck?


YOu shut up old man!

you're are not helping!

haven't your parents taught you a good manner?

instead of answering the question, you answered it in a wrong way!

UNPROFESSIONAL!!

disgusting!


Please.. the appropriate response is to quote this:

Knocked Up said:

You know what, you may have power now but you are not god. You're a doorman, okay. You're a doorman, doorman, doorman, doorman, doorman, so... Fuck You!

Was This Post Helpful? 0
  • +
  • -

#42 markhazlett9   User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 61
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 10:48 AM

View Postmodi123_1, on 14 Aug, 2009 - 09:27 AM, said:

View Postice_skate3, on 14 Aug, 2009 - 12:36 AM, said:

View PostNeumann, on 13 Aug, 2009 - 06:57 PM, said:

View Postice_skate3, on 12 Aug, 2009 - 09:06 AM, said:

ican you fix it? huhuh!

What the fuck?


YOu shut up old man!

you're are not helping!

haven't your parents taught you a good manner?

instead of answering the question, you answered it in a wrong way!

UNPROFESSIONAL!!

disgusting!


Please.. the appropriate response is to quote this:

Knocked Up said:

You know what, you may have power now but you are not god. You're a doorman, okay. You're a doorman, doorman, doorman, doorman, doorman, so... Fuck You!



Hahaha straight up awesomeness!

@baavgai... hmmm interesting... so that's why politicians are the way they are... ahaha
Was This Post Helpful? 0
  • +
  • -

#43 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12800
  • View blog
  • Posts: 45,992
  • Joined: 27-December 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 12:45 PM

Sorry. I closed the tab, and I thought I was on another post.

This post has been edited by macosxnerd101: 14 August 2009 - 12:46 PM

Was This Post Helpful? 0
  • +
  • -

#44 markhazlett9   User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 61
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 02:48 PM

You issue could have been solved like 2 days ago had you been more clear. Everyone in the previous 2 topics was under the impression you meant delete from the console and not delete from a linked list. If you have further issues please be more specific with your problem and frustration on both your part and ours could be avoided. Also, please only post your topic once so that you can get maximum response in the one topic as opposed to multiple.

Cheers
Was This Post Helpful? 0
  • +
  • -

#45 LynnL   User is offline

  • D.I.C Head

Reputation: 21
  • View blog
  • Posts: 109
  • Joined: 13-April 09

Re: Trying to make a clearscreen in Java

Posted 14 August 2009 - 08:19 PM

View PostNeoTifa, on 14 Aug, 2009 - 04:54 AM, said:

Isn't this your third topic about the same question?

PBL do something
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4