Surprise

I used java.net.InetAddress to get the IP Address by the following applet in TestIP.class file:
import java.applet.*;
import java.net.*;
import java.awt.*;
public class TestIP extends Applet {
String ip;
public void init() {
try {
ip=InetAddress.getLocalHost().toString();
catch(UnknownHostException e) {
ip="Unknown";
public void paint(Graphics g) {
g.drawString(ip, 50, 25);
And run it with a HTML file in IE5.5 and also in NetScape 4.7, but the results was different:
Result In IE5.5:
localhost/127.0.0.1
Result in NetScape4.7:
Azarnoosh/217.29.208.69
Do you have any java applet solution to getting IP address of client in IE5.5 & NetScape4.7?
Regards
Ali Azarnoosh

This should display all IP addresses, but requires your applet to be signed.
import java.applet.*;
import java.net.*;
import java.awt.*;
public class TestIP extends Applet {
     InetAddress[] addresses;
     public void init() {
          try {
               addresses = InetAddress.getAllByName(InetAddress.getLocalHost().getHostName());
          catch(UnknownHostException e) {
     public void paint(Graphics g) {
          for (int i=0; i<addresses.length; i++) {
               g.drawString(addresses.getHostAddress(), 50, 25*i + 25);

Similar Messages

  • New to Apple and Aperture-I am surprised at the lack of integration between Aperture and applications as iMovie.

    Aperture slideshow is terrible in terms of entering any text on a photo.  It appears that you have to export the photos from Aperture to the desktop to import the photos to iMovie to be able to add quite good text to individual photos. While I am new to the Apple system (I am quite knowledgable in Windows), I am surprised that iMovie cannot import an Album or a Project from Aperture.  It does not appears possible to to copy and paste from Aperture to the project created in iMovie without exporting to the desktop.  This seems like a step backwards.
    Since I come from Windows I will be importing most of my photos into Lightroom3 and doing  most of my work.  Yet, there are features in Aperture that I like and will probably use both for the time being.  I am using Aperture 3 and iLife11.  New Macbook Pro

    I read the manuals and watched the tutorials on the Apple web site as well as F1 in Aperture and never saw a reference to using Windows menu to list photos in iMovie.  I check this and it does seem to work.  however, you must admit that the procedure for adding text on a photo is limited as compare to iMovie.  Maybe, it is because I want to add text to a photo for posting on Mobileme or other photo posting sites so friends can view the photos in a slideshow or one by one.
    I assume that you can answer this question. Since I was exporting photos to the desktop so I could import them in iMovie, if I delete the folder on the desktop will they disappear form the project in iMovie?  Since I do not like a lot of folders on the desktop can I move them to the Pictures folder and not loose the project links in iMovie?

  • I'm using a macbook pro, running snow leopard. Yesterday I got around to emptying my trash for the first time in quite awhile and was surprised by how much there seemed to be in there. Immediately after a question mark symbols appeared on all my hard disk

    I'm using a macbook pro, running snow leopard. Yesterday I got around to emptying my trash for the first time in quite awhile and was surprised by how much there seemed to be in there. Immediately after a question mark symbol appeared on all my hard disk folders. If I click on these question marks I get a message saying ' the item can't be found'.

    mpagan47 wrote: a question mark symbol appeared on all my hard disk folders.
    Not sure where these hard disk folders are located that you are referring to?  Finder, Finder tool bar, Finder side bar, Desktop, Dock? 
    More then likely they are  an alias that not longer point to the orginals,  thus the question mark.
    I would reboot.  Delete icons if an alias and just recreate by dragging from the source. Try right click (control) click to remove.

  • How to set up iPad as surprise gift

    I am going to buy my mom an iPad 3 for Mother's Day.  As I just started working full-time several months ago (I'm 22), this will be my first big present to anyone.  I even ordered a case already, and am looking at speaker docks.  I want the ipad to be perfect and fully-set up for my mom by May 13th.  My mom is almost computer illeterate; she knows how to check email, and thats about it.  I want to completely set it up for her: buy apps, save bookmarks, add music, photos, etc.  I was planning on setting up an new email address for her, registering an apple id with this email, and buying apps with a gift card.  However, my dad has an apple id that is linked to his iPhone; I realized today that they might want to end up on the same apple id.  I don't want to use my dad's apple id because they share the same email address, which my mom checks pretty frequently.  Is she going to be able to change apple id's and still keep all of the loaded content?
    If that is not possible, what are my other options?
    Thanks!

    You really need to get the apple id straightened out before you start, or you will pay the price forever!   You have a couple of options.  I assume your dad is cooperating with this project.  I think you are probably right about using his apple account.
    Make sure you have established the second e mail address and that to works.
    Log onto apple.com, and in the upper right, log into the account.  Once in the accout, click on the area where you can change you data, and add the second email address.    Apple wil verify the adress by send it an e mail, and won't do anything further until you respond to an e mail sent to that address, so watch for it.
    After the address is verified, on your accout page, make that address your primary address contact from apple.  That way if apple sends confirmations for apps and things, they will go to the new address, and your mom won't see them.  Then set the pad up using the same aple Id as your dad.  Remember, you have not changed the apple id or the password, you have only changed the e mail address for contact.   ( you can change it back after the surprise)
    The other suggestion...  I have given a coule of pads to folks, and one of the real fun parts for them and for you is o
    Ending the box, and doing the set up.  It is a great way for them to learn enough to use it.  Press the buttons etc.  pick their own apps.  You can gift her all the apps you want, and she can learn how to download them herself.
    I gave a pad to mom in law, and did pretty much what you are planning, and at the end of the day, having it all set when she openied it made it harder for her to learn, rather than easier.
    But you are doing a god thing, and I am sure she will enjoy the pad.

  • Hello I have a problem with my ipod touch 1G the problem is that see me key to the floor! And when recogi not prendia after 5 minutes prendio but it gave to me the surprise of which the battery had finished completely! What I did was to set it to load wit

    Hello I have a problem with my ipod touch 1G the problem is that see me key to the floor! And when recogi not prendia after 5 minutes prendio but it gave to me the surprise of which the battery had finished completely! What I did was to set it to load with the USB but do not load the battery me the icon of the battery appear and below of her the beam that indicates that this being loaded but this way I have left it the whole yesterday and what goes of today and continues without loading anything! They can help me porfavor I am grateful for them to him very much!   And my PC does not detect it not itunes

    Try the not-charging topic of:
    iPod touch: Hardware troubleshooting
    It could be that the battery is dead.

  • How can I get a search bar added to my email archives screen to make it easier to search for the right archives folder, Samsung has one so I was surprised to see that I have to scroll up and down to find the right folder?

    How can I get a search bar added to my email archives screen to make it easier to search for the right archives folder, Samsung has one so I was surprised to see that I have to scroll up and down to find the right folder?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • They sent me a serial number for a windows version of PS Elements when I ordered a mac version.  The serial number doesn't work, not surprisingly, but they don' t seem to care.  I have tried the chat line and have waited for almost a day with no response.

    They sent me a serial number for a windows version of PS Elements when I ordered a mac version.  The serial number doesn't work, not surprisingly, but they don' t seem to care.  I have tried the chat line and have waited for almost a day with no response.  What should I do?

    Look here
    Order product | Platform, language swap

  • Blue screen of death, surprise restarts, and some captured clips distorted, with blocky artifacts!

    Hello,
    I've been using my set-up (Premiere Pro 2.0* with Cineform AspectHD) successfully for years, to capture and edit footage. But just recently, my computer has given me the blue screen of death after capturing for about 5-10 minutes or caused my computer to restart in the middle of capturing. I've also noticed that the resulting captured clips are, in some places, distorted and contain blocky artifacts. It isn't a problem with the tape because the footage plays just fine on the camera's preview monitor. I tried re-installing Premiere Pro 2.0 and Cineform AspectHD, but the problem persisted after a successful, but brief capture session (the resulting clips were still distorted and contained blocky artifacts). I have no idea what the problem is! One solution I attempted was to capture on another computer in my house, using the same software. Although I didn't get the blue screen of death or a surprise restart, the captured clips were still distorted and contained blocky artifacts in some spots. Another option I tried, with the second computer, was deselecting the Scene Detect option in the capture dialogue box. As a result, the captured clips are free of distortion and blocky artifacts, but the problem is that the captured clips are too big and very difficult to manage (I shoot a lot because I'm a filmmaker and I'm in the middle of a big project). Why is this happening?!
    Any help with this problem would be greatly appreciated!
    *I'd use a later version of Premiere, but I spent a lot of money on Cineform AspectHD and the version of Cineform I have only works with Premiere Pro 2.0.

    I agree with John T. BSOD's are most often caused hardware issues, such as overheating of a component, or a failing, or undersized PSU.
    Also, general system drivers can cause failure. Often, those are outlined (though maybe not in really adequate detail) in the Event Viewer's log. In that article, that John T. linked to, there is another link to "Finding Clues." It goes into more detail on using Event Viewer to explore warning, or error messages. If your testing of your system's components and heat, do not yield a weak link, see that one (no pun intended). It is in Reply # 3.
    Good luck,
    Hunt

  • I have Acrobat 7.0 updated to 7.1.4 which surprising no longer works after upgrading my mac os

    I have Acrobat 7.0 updated to 7.1.4 which surprising no longer works after upgrading my mac operating system to OS 10.8.5 (mountain lion), and gives an err message that system no longer supports PPc applications. I guess Acrobat 7 is a PPc application and wanted to know if there is any work-forward here to be able to keep using this product? I didn't see this coming.

    There may be parts of it that work if the MAC is anything like the PC. I have been able to get AA 7 to partially work on a Win7, 64-bit machine, but several work-arounds are required. The biggest one is the installation of a PS print driver and such. So, can you open Acrobat and/or Distiller? Do they seem to function? If so, there may be some workarounds. Otherwise you probably need to purchase AA XI. Actually, I would recommend purchasing the newer version anyway -- just trying to give you a picture of what might be possible.
    When you say it no longer works it is not clear what you mean. You may need to clarify and also indicated if you have tried repairing the installation and such. I can't say a lot more since I am not really familiar with the MAC.

  • I contacted Apple support.UK on 22nd December 2011-12-23. I informed about  the problem was likely to be with the apparatur.However  I tried my father's Ipad2 last night.software is the same my Ipad2's IOS 5.0.1 (9A405), to my surprise it worked properly.

    Hi! My name is Nazım . I live in North Cyprus. I’ve got Apple Ipad 2 and  Iphone 4. My ıpad2 is iPad 2 Wi-Fi + 3G:  Serial number: DQTFFVC1DFJ3., IOS 5.0.1 (9A405), model MC775LL .my itunes is last version. I bought my ipad  from America.
    I’ve recently bought Philips DC390 from  Apple Store in Oxford Street. Althouh Philips dock 1 seemed  to work properly (charged and player). The second dock isnot compatible with my ipad2. It didn’t work(play),It charges though.
    I sended e-mailed to Philips.uk for assistance. They recomend met o reset my  ipad2 to see if this clears any issue, but it does indicate a fault with the unit. It didn’t work either.s(everal time Ireset my Ipad2)
    In addition to this, I contacted Apple support.UK on 22nd December 2011-12-23. I informed about  the problem was likely to be with the apparatur.However  I tried my father’s Ipad2 last night.software is the same my Ipad2’s IOS 5.0.1 (9A405), to my surprise it worked properly. I’ve already reset my ipad2 several times but it didn’work.
    I would be grateful if you could make me some recommendations to sort out the refered my problem.

    Hi Nazim
    This is a user to user group.  There is no-one from Apple here.
    Use this link to contact Apple directly.

  • Surprised with lack of brightness with new Macbook Pro

    I was thinking of up grading from my 2 year old 13 in Macbook to the new 15 in Macbook Pro. But when I compared the glossy screens side by side, the new ones are not as bright, not as white as my older one. Settings and color space were set the same. I will stay with my older Macbook. Very surprised and disappointed.

    My mid 2010 13" does not get as bright as I would like. Usually run just two notches down from max setting.

  • I have the iPad 2 16GB, bought it in August 2011, I worked perfectly but in mid-August 2012 I took her to the store because the microphone did not work reviewed and changed me, but to my surprise that the new iPad had the problem is disconnected WIFI sign

    I have the iPad 2 16GB, bought it in August 2011, I worked perfectly but in mid-August 2012 I took her to the store because the microphone did not work reviewed and changed me, but to my surprise that the new iPad had the problem is disconnected WIFI signal I have to be glued to the router, and I did everything he says is supported by the Apple and all other pages and forums regarding this problem is not solved and always disconnects when connected always disconnects again!! passing will be settled as no longer factory warranty although it has neither the three months I renewed new, please help because the investment has been great and I can not use only as "a mirror" I'm waiting a true solution, thanks ....
    Sincerely,
    Catlos

    This does help me because I am pondering on wether to buy an airport extreme to solve my ipad 2 connection woes.  I have an extremely old router dLink 524....but I have NEVER had any problems with it at all ever.  My xbox connected great to it and netflix ran flawless through my xbox.....now I have an ipad2 and an apple tv and they are BOTH having horrible connection problems.  I have read most of the forums on how to fix it by changing the settings on my router but since mine is so old I couldn't do some of the suggested solutions.  So here I am debating on whether to spend all this $ on an airport extreme?  I am just hoping that if I go and purchase this, my connectivity issues problems will go away like yours did.  Just wondering if you have ATV as well and if the AE solved its problems?  I have read about AE solving ipad2 wifi problems, I'm just hoping it will solve my ATV as well.
    **Glad they didn't "moderate into extinction" your post yet, lol, Thank

  • This morning I ask about the requirement to download the adobe Cs6 before i buy the product and the salesperson told me that i met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer d

    this morning I ask to a sales person about the requirement to download the adobe Creative Cs6 before i buy the product and the salesperson told me that my computer met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer doesn't meet this requirement,  my computer is a OS X 10.5.8 and the requirement  is OS X v10.6.8 or v10.7 what can i do?

    The requirements are online. For the Master Collection the requirements on Macs are:
    Mac OS
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7
    4GB of RAM (8GB recommended)
    15.5GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash-based storage devices)
    Additional disk space required for disk cache, preview files, and other working files; 10GB recommended
    1280×900 display with 16-bit color and 512MB of VRAM; 1680×1050 display required and second professionally calibrated viewing display recommended for Speedgrade
    OpenGL 2.0-capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    Java™ Runtime Environment 1.6
    Eclipse™ 3.7 Cocoa version (for plug-in installation of Flash Builder); the following distributions are supported: Eclipse IDE for Java EE and Java Developers, Eclipse Classic, Eclipse for PHP Developers
    QuickTime 7.6.6 software required for QuickTime features, multimedia, and HTML5 media playbackOptional: Adobe-certified GPU card for GPU-accelerated performance in Premiere Pro; see the latest list of supported cards
    Optional: Adobe-certified GPU card for GPU-accelerated ray-traced 3D renderer in After Effects; see the latest list of supported cards
    Optional: Tangent CP200 family or Tangent Wave control surface for Speedgrade
    Optional: 7200 RPM or faster hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended) for video products
    Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.* Phone activation is not available.
    You should have been given the correct information. Adobe offers 30-day money back guarantee.
    You can find return information here:
    Return, cancel, or exchange an Adobe order

  • Are you serious???Really??? $9 charge for $1 surprise increase in bill that was paid days later???

    ATT has had for a long time ongoing "bill creep".  Now I get a $9 charge for a $1 surprise increase on monthly fee that I paid as soon as I discovered it!!!!  I had automatic payments set up on my bank account for the originally agreed upon monthly charges. This is just so wrong.  I will not waste an hour of my life (normal phone time whenever I have had to call ATT about anything in the past--also true of all my friends).  I will try my best to find another provider that will honor its original agreement about monthly charges and not charge outrageous fees for setting up its customers.   I left the home phone service a while back for "bill creep" (and am saving almost 90% on my bill) after being a customer for decades, so now I will leave Uverse for the same rotten reason as soon as I can find another provider. I truly HATE this company. Pat 

      So, you don't bother to check the monthly bill before the automatic payment is deducted? I seem to get an email each month listing the $ amt and when it is going to be charged to my CC.
    Have to say it is on you for not doing that, not ATT for increasing your bill $1.  Generally bills increase in the Feb billing, not any other month.
    Chris
    Please NO SD stretch-o-vision or 480 SD HD Channels
    Need Help? PM ATT Uverse Care (all service problems)
    ATT Customer Care(all other problems)
    Your Results May Vary, In My Humble Opinion
    I Call It Like I See It, Simply a U-verse user, nothing more

  • HT1349 I just purchased an Iphone and love it except I'm surprised and annoyed that there is no way to create a group within contacts.  I coach a youth basketball team and routinely want to fire off a mass email or text to the same group. Am I missing som

    I just purchased an Iphone and love it except I'm surprised and annoyed that there is no way to create a group within contacts.  I coach a youth basketball team and routinely want to fire off a mass email or text to the same group. Am I missing something?

    When I click on my contacts icon on my phone there is a Groups choice in the upper left hand corner. Make sure you are in All Contacts and not a specific person.

  • Web Gallery-Surprising Differences between Safari and Firefox

    I discovered some surprising differences using Web Gallery in Safari vs. Firefox:
    1. When you first view an album the gallery, the thumbnail photos take quite a bit longer to be visible in Safari than in Firefox.
    2. When rolling the mouse over the Subscribe icon in Safari, a message states, "Add this album to iPhoto." In Firefox, the message states, "Subscribe to an RSS feed of this album."
    3. When a movie is selected in Safari, you can download it immediately, though the movie is not playable from the Safari page until it fully loads. In Firefox, if you click the download icon before the movie has fully loaded, a message appears that states, "QuickTime is unable to play this movie. Please try again. Then, a window opens asking what to do with the file you are trying to download -- Save it, or Launch QuickTime. If you wait until the movie is fully loaded, it plays within the Firefox page. If, after it's loaded, you leave the page and then go back to that page, the movie won't load again and play within Firefox, but it can be downloaded.
    I'm wondering whether these differences in functionality are typical or just occurring on my Mac, so please document your experience here.

    Thanks Denes for your reply.
    I use HttpWatch tool to measure the loading times. Reports are mostly the same for IE and FF. I can see from the report, there is three times shown error 404 Not Found for the items below.
    http://......./images/sRegion-Body.png
    http://......./images/sRegion-Bottom.png
    http://......./images/sReportBG-Standard.png
    The last action which caused 404 error started 2 seconds after the page was asked to refresh. The next action http://......../i/libraries/jquery-ui/1.8.22/ui/i18n/oracle/jquery.ui.datepicker-cs.js started after 38 seconds (hanging in the same place for 36 seconds). Does it mean that the problem is caused by http://......./images/sReportBG-Standard.png action which returns 404 error?
    How can I add the missing images?
    -Jiri

Maybe you are looking for

  • Transfer Phone Numbers Between Lines on Same Account

    Hello, I'm on a family plan currently with 5 lines. One of the lines is no longer used, but it's contract doesn't expire until 2014. We have another line (on the same account) that is month to month. We'd like to cancel the month to month line, but k

  • Video Out from early 2009 Mac Mini

    Is there any way to go from one of the video outs on the Mini to a converter of some sort, then to video input or S video input on a TV monitor? I see that the Mini DVI to Video does not work with my version of the Mac Mini. Any other solutions?

  • BI 7.0: How to bring DataSource fields to InfoSource in design

    We've replicated the generic datasource from R3 to BW and we have created an InfoSource with blank fields.   We remember on BW 3.x version that we could bring Datasource fields to InfoSource by clicking somewhere, but on BI 7.0, we are trying to do t

  • Report for determining withholding tax codes for vendors

    Dear Experts, Is there any report in SAP thru which I can determine the withholding tax codes assigned to a particular vendor? This is required as the client has over 100 withholding tax codes and not able to know which vendor is assigned to which wi

  • EO Infinity Rollout

    Hi, is there any news yet when a solution to exchange only lines are likely to be rolled out.  Half my town (lostwithiel) is on Exchange only lines, and this is proving frustrating as hell.   Granted I accept that having to close Spotify when I am ho