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



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. What is SMSC and CSCA number? , in which JAVA file
View Tutorial          By: sampath at 2009-06-19 07:01:31

2. Very good example with explaination and sample cod
View Tutorial          By: plenitude at 2010-04-15 23:55:02

3. Can you mail me the compiled files, Please. Thank
View Tutorial          By: raghav at 2010-09-14 21:23:17

4. excellent
View Tutorial          By: alok mishra at 2008-05-12 00:51:57

5. hey hiii.
at last the progrma has be runnin

View Tutorial          By: jugal at 2009-02-20 08:22:31

6. It was really helpful.... i cleared my lab test wi
View Tutorial          By: kishore at 2009-01-21 22:30:08

7. place both comm.jar and javax.comm.properties in l
View Tutorial          By: Rania at 2010-09-14 19:52:49

8. Please send me the multithreading chat application
View Tutorial          By: Vaibhav at 2010-06-23 23:58:43

9. Hi All,

This SMS code is working fi

View Tutorial          By: Munavar at 2008-01-27 22:53:31

10. The same article is originally given on struts apa
View Tutorial          By: Fact at 2011-05-09 16:19:18