[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Evans Anyokwu
The clue to the problem is in the error message - try putting your code inside 
a try/catch clause.

e.g
   try {
  Runtime.getRuntime().exec("cls");  
   ...
  } catch (IOException e) {  
e.printStackTrace();  
   }  
--
Evans
http://www.javawug.org
  - Original Message - 
  From: Nelson Rodrigo - LHQ 
  To: 'Vasile Braileanu' ; 'Java EE (J2EE) Programming with Passion!' 
  Sent: Friday, February 06, 2009 10:17 AM
  Subject: [java ee programming] Re: Clear Console Screen


  Hi when I use that

  Its getting error

   



   

  Nelson Rodrigo
  Staff Officer - Software Development
  LOADSTAR (PRIVATE) LIMITED
  Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 
6556

  P SAVE PAPER  - Please consider our environment before printing ü


--

  From: Vasile Braileanu [mailto:vasilebraile...@gmail.com] 
  Sent: Friday, February 06, 2009 3:39 PM
  To: nelson.rodr...@loadstarlk.com
  Subject: Re: [java ee programming] Clear Console Screen

   

  Hi,
  find the os name (with SystemProperties)

  if is windows you can use 
  Runtime.getRuntime().exec("cls");

  on linux you can use
  Runtime.getRuntime().exec("clear");

  But I think if you want to clear the console maybe is the case you need a 
desktop application (can be very simple, one JDialog and one JPanel with 
JTextArea inside).

  Best regards, 
  Vasile Braileanu


  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---

<>

[java ee programming] Re: Important and Urgent!!!

2009-01-26 Thread Evans Anyokwu

Rajesh,

Please remember that this is a voluntary class, as such, refrain from flagging 
any message as Urgent. 
If you think its too urgent for you and can't wait till Sang updates anything 
in his own time, I would suggest you 'Urgently' enrol in a local college. That 
way, you won't have to wait for anything to be updated here.

-Evans
http://www.javawug.org

Date: Sat, 24 Jan 2009 03:12:13 +0530
From: raj31_saw...@yahoo.com
Subject: [java ee programming] Important and Urgent!!!
To: java-ee-j2ee-programming-with-passion@googlegroups.com
CC: sang.s...@sun.com



Hello Sang Shin,
 
Please update J2EE course web site with some comments/images so that all 
memebers will get intimation about exercise and homework. Many members 
including me, who was enrolled from last season are seeking for updated stuff 
so they will get help while completing course ASAP
 
Suggestion:You can add "New" blinking image next to updated item so any one can 
figure out what new/updated  from old course stuff 
Please advice!!!
 
Thanks,
Rajesh Suhas Sawant  

   Add more friends to your messenger and enjoy!  Invite them now.




_
Love Hotmail?  Check out the new services from Windows Live! 
http://clk.atdmt.com/UKM/go/132630768/direct/01/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4913 homework

2008-12-10 Thread Evans Anyokwu
I didn't know that I was still on this list :)
The last time I got a message, or took part in any discussions on it was over a 
year ago.

Wow, I guess I should get back to it and start taking part again.

  - Original Message - 
  From: Derlon Aliendres 
  To: Java EE (J2EE) Programming with Passion! 
  Sent: Wednesday, December 10, 2008 5:53 PM
  Subject: [java ee programming] Re: LAB 4913 homework


   John,

I altered  the beans.xml, adding  a bean id="myaddress"; something like 
this:
  
 
  
  
  
  
  
  
Did u do something seemed to this??!

   Fellows,

   Other thing that I didn't consider so kind is that the HomeWork
  Question Speech did clarify how the Address class should have its
  attibuts (streetName, streetNumber and zipCode) fed up. So I get guess
  it, starting their values right in their declaration! :O

  Ice-Man



  On 26 nov, 23:28, Sunshine <[EMAIL PROTECTED]> wrote:
  > Well I got it done too but I don't like what I did.
  >

  >  Mostrar texto entre aspas -

  2008/12/10 Ice-Man [EMAIL PROTECTED]





 

  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---