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. Hi,
I want to run a bat file, below are the

View Tutorial          By: Rajshekar at 2011-10-28 06:07:06

2. Wow, damn nice. It does everything, and the script
View Tutorial          By: Ethan Windsor at 2012-06-14 13:47:39

3. i could not understood the left & right shift
View Tutorial          By: deepak singhal at 2013-07-10 03:37:44

4. I want to be programer
View Tutorial          By: somphone at 2015-09-09 11:20:20

5. Hi, I need the library of Communication API, to ru
View Tutorial          By: arun at 2008-10-23 05:10:06

6. very helpful.
View Tutorial          By: arjun at 2011-07-19 03:19:44

7. Thanks! Can u explain how to use PreparedStatement
View Tutorial          By: Shashank Araokar at 2007-05-07 07:41:54

8. Hey is there any way to export datagrid to crystal
View Tutorial          By: Anu at 2009-05-08 13:11:48

9. In the block form of SMTP.start, is there a way to
View Tutorial          By: Roshan at 2012-02-02 11:48:53

10. thank you. its very useful :)
View Tutorial          By: Farhanna at 2013-05-22 05:33:46