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. how to refresh the radiobuttons during the run tim
View Tutorial          By: Vishnupriya at 2009-02-04 03:25:24

2. scriptlets when used in a page - helper pattern...
View Tutorial          By: tony at 2009-03-04 17:03:03

3. dear! can you show me about "How to start as
View Tutorial          By: vatha chhean at 2011-05-31 07:34:42

4. That's a very nice and simple article,
Tha

View Tutorial          By: Mohsen at 2009-10-11 03:07:18

5. informative article.......
View Tutorial          By: Nithin at 2012-08-17 15:32:37

6. how limit for no of users for particular role to s
View Tutorial          By: priyanka at 2014-12-16 13:39:55

7. I have already establish connection with mysql in
View Tutorial          By: shaishav at 2013-06-20 04:27:44

8. class Abc
{
public void display()
View Tutorial          By: Umapathi REddy at 2012-05-23 09:54:29

9. super j2me introduction
View Tutorial          By: govinth at 2012-02-05 09:33:18

10. how to create a do while,the output wil show the m
View Tutorial          By: waa at 2009-09-02 19:23:45