Comment on Tutorial - InetAddress Example program in Java By Grenfel



Comment Added by : FLORIAN

Comment Added at : 2011-09-14 09:04:42

Comment on Tutorial : InetAddress Example program in Java By Grenfel
HI all i would like to send the result of " InetAddress Address = InetAddress.getLocalHost(); " to a Jtextfield , so that I can display it in a gui like so:

/---------------------------------------------------------------\
| TITLE: My super gui that looks very nice! - [] X |
|---------------------------------------------------------------|
| |-------------------------------------------| |
| | My Ip address in a JTextField | <-JTxtField|
| |-------------------------------------------| |
| |
| |
\---------------------------------------- ----------------------/

I'm pretty new to java so please don't be to technical. ;-)

Thanks in advance


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. plse can u send me study material or sample questi
View Tutorial          By: sneha at 2015-03-12 09:40:49

2. Good Tutorial.
Thanks.

View Tutorial          By: Oki Wicaksono at 2012-05-29 04:09:05

3. i like this a lot
View Tutorial          By: raj at 2011-05-06 06:15:36

4. hi
thanks for your code i wanted to know w

View Tutorial          By: anshul at 2009-10-28 15:10:10

5. Hi, my name is Jaime,
I wan't to do a jsp w

View Tutorial          By: Jaime at 2011-10-24 12:47:50

6. Seems to be the best tutorial on this topic. At le
View Tutorial          By: Bob Nickson at 2008-08-26 02:50:29

7. Nice Work... Keep it..
View Tutorial          By: Ashok at 2010-02-28 05:12:31

8. hi purushothaman
thanks for your kind resp

View Tutorial          By: sandeep das at 2009-04-11 10:42:58

9. how to run the sms sending program
wether v

View Tutorial          By: ram at 2008-02-26 22:30:13

10. very good
View Tutorial          By: amit at 2009-10-24 01:55:26