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. The tutorial is simple and clear.
@Gnani, i

View Tutorial          By: Tayo at 2010-01-03 13:10:24

2. site is really good.explaining the concept with ni
View Tutorial          By: reddy chakri india at 2009-03-10 00:20:00

3. hi
this is helpful, but file store it in m

View Tutorial          By: Mahesh at 2011-11-10 06:52:39

4. please give very easy program....this program is d
View Tutorial          By: rajesh at 2010-01-24 08:08:38

5. Thanks very much.
View Tutorial          By: Haritha at 2011-05-26 07:56:06

6. Thanks for the information.
View Tutorial          By: Appala Naidu at 2012-02-10 09:11:29

7. sap crystal active-x design
failed to open

View Tutorial          By: Mubarak at 2012-11-11 17:16:54

8. Hi
I have done all the steps mentioned abo

View Tutorial          By: Asela at 2012-01-26 18:53:51

9. Hi all, i have tried above code, but am getting fo
View Tutorial          By: shalini Iyer at 2008-04-22 01:20:32

10. It work fine with message below 160 chars. How can
View Tutorial          By: Milind at 2011-12-15 06:20:33