Applet Security help for a newbie

I have an applet that works as an IRC client, still needs a lot of work. I have the basics working, but before I continue fixing it up I need some help. I've searched all over the forums, and my lack of Java knowhow leaves me confused.
I have no idea how to use the forte debugger or the J++ debugger, so i'm building the classes everytime and testing them in IE on my own machine.
I got this error first:
java.security.AccessControlException: access denied (java.net.SocketPermission irc.enterthegame.com resolve)
so I did a lot of searching and found that by adding the following lines to my java.policy file in my program files\java\j2re1.4.0\lib\security folder that it would work:
permission java.net.SocketPermission "*:80", "connect,accept,resolve";
permission java.net.SocketPermission "*:6667", "connect,accept,resolve";
Unfortunately if I want to test my applet on another computer or just use it, it means I have to add these lines on every machine I want to use. I think.
So I did some more searching on here...and now I think I have to sign my applet. I followed the instructions from this link http://developer.java.sun.com/developer/qow/archive/167/index.jsp
And that all went well. But what do I do now? I took out those two permission lines from my java.policy file and it's back to square one. Do I need to do something with the .jar file that I created? Can someone give me a hand here? Thanks, I appreciate it

Is this question really hard or something?

Similar Messages

  • Best Security Settings for Mac Newbie

    Hello
    I'm new Mac user (OS X 10.9) and am still trying to get to grips with Apple's OS.
    Hopefully this question won't have been asked too many times before! Sorry
    In 'settings' - 'security & privacy', how should I configure it?
    It's just me using the computer and I guess I'm an average home user and don't have anything particulaly sensitive on the laptop. I have encryted my 'financial stuff' folder into a .dmg file? Plus I don't tend to access or download any dodgy stuff, pirated software/music, etc, or ****.
    But I obviously I still want to try to prevent hackers, viruses, malware, etc. When I used to have a windows computer I used to use 3rd security software. Do I need to purchase similar for my Mac, and if so any recommndations?
    Regards Richard

    1. This is a comment on what you should and should not do to protect yourself from malicious software ("malware") that circulates on the Internet. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to your computer, or who has been able to log in to it remotely. That threat is in a different category, and there's no easy way to defend against it. If you have reason to suspect that you're the target of such an attack, you need expert help.
    If you find this comment too long or too technical, read only sections 5, 6, and 10.
    OS X now implements three layers of built-in protection specifically against malware, not counting runtime protections such as execute disable, sandboxing, system library randomization, and address space layout randomization that may also guard against other kinds of exploits.
    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user. Internally Apple calls it "XProtect."
    The malware recognition database used by XProtect is automatically updated; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
    The following caveats apply to XProtect:
    It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets.
    It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    As new versions of OS X are released, it's not clear whether Apple will indefinitely continue to maintain the XProtect database of older versions such as 10.6. The security of obsolete system versions may eventually be degraded. Security updates to the code of obsolete systems will stop being released at some point, and that may leave them open to other kinds of attack besides malware.
       3. Starting with OS X 10.7.5, there has been a second layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't necessarily been tested by Apple, but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. That may not mean much if the developer lives in a country with a weak legal system (see below.)
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    It can easily be disabled or overridden by the user.
    A malware attacker could get control of a code-signing certificate under false pretenses, or could simply ignore the consequences of distributing codesigned malware.
    An App Store developer could find a way to bypass Apple's oversight, or the oversight could fail due to human error.
    For the reasons given above, App Store products, and other applications recognized by Gatekeeper as signed, are safer than others, but they can't be considered absolutely safe. "Sandboxed" applications may prompt for access to private data, such as your contacts, or for access to the network. Think before granting that access. Sandboxing security is based on user input. Never click through any request for authorization without thinking.
    4. Starting with OS X 10.8.3, a third layer of protection has been added: a "Malware Removal Tool" (MRT). MRT runs automatically in the background when you update the OS. It checks for, and removes, malware that may have evaded the other protections via a Java exploit (see below.) MRT also runs when you install or update the Apple-supplied Java runtime (but not the Oracle runtime.) Like XProtect, MRT is effective against known threats, but not against unknown ones. It notifies you if it finds malware, but otherwise there's no user interface to MRT.
    5. The built-in security features of OS X reduce the risk of malware attack, but they're not absolute protection. The first and best line of defense is always going to be your own intelligence. With the possible exception of Java exploits, all known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "Trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and Internet criminals. If you're smarter than they think you are, you'll win. That means, in practice, that you always stay within a safe harbor of computing practices. How do you know when you're leaving the safe harbor? Below are some red flags that indicate danger.
    Software from an untrustworthy source
    Software of any kind is distributed via BitTorrent or Usenet.
    Software with a corporate brand, such as Adobe Flash Player, doesn't come directly from the developer’s website.
    Rogue websites such as Softonic and CNET Download distribute free applications that have been packaged in a superfluous "installer."
    The software is advertised by means of spam or intrusive web popups.
    Software that is plainly illegal or does something illegal
    Software that you would otherwise have to pay for is "cracked" or "free."
    An application helps you to infringe copyright, for instance by circumventing the copy protection on commercial software, or saving streamed media for reuse without permission.
    Conditional or unsolicited offers from strangers
    A telephone caller or a web page tells you that you have a “virus” and offers to help you remove it. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    A web site offers free content such as video or music, but to use it you must install a “codec,” “plug-in,” "player," "downloader," "extractor," or “certificate” that comes from that same site, or an unknown one.
    You win a prize in a contest you never entered.
    Someone on a message board such as this one is eager to help you, but only if you download an application of his choosing.
    A "FREE WI-FI !!!" network advertises itself in a public place such as an airport, but is not provided by the management.
    Unexpected events
    You open what looks like a document and get an alert that it's "an application downloaded from the Internet." Click Cancel and delete the file or message.
    An application does something you don't expect, such as asking for permission to access your contacts, your location, or the Internet for no obvious reason.
    Software is attached to email that you didn't request, even if it comes (or seems to come) from someone you trust.
    I don't say that leaving the safe harbor just once will necessarily result in disaster, but making a habit of it will weaken your defenses against malware attack. Any of the above scenarios should, at the very least, make you uncomfortable.
       6. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was always a bad idea, and Java's developers have proven themselves incapable of implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style virus affecting OS X. Merely loading a page with malicious Java content could be harmful.
    Fortunately, client-side Java on the Web is obsolete and mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice. Forget about playing games or other non-essential uses of Java.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it — not JavaScript — in your browsers.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a task on a specific site, enable Java only for that site in Safari. Never enable Java for a public website that carries third-party advertising. Use it only on well-known, login-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.
    Stay within the safe harbor, and you’ll be as safe from malware as you can practically be. The rest of this comment concerns what you should not do to protect yourself.
    7. Never install any commercial "anti-virus" or "Internet security" products for the Mac, as they all do more harm than good, if they do any good at all. If you need to be able to detect Windows malware in your files, use one of the free security apps in the Mac App Store — nothing else.
    Why shouldn't you use commercial "anti-virus" products?
    To recognize malware, the software depends on a database of known threats, which is always at least a day out of date. New threats are emerging on a daily basis. Research has shown that most successful attacks are "zero-day" — that is, previously unknown. Recognition-based malware scanners do not defend against such attacks.
    Their design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere.
    In order to meet that nonexistent threat, the software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    By modifying the operating system, the software itself may create weaknesses that could be exploited by malware attackers.
    8. An anti-malware product from the App Store, such as "ClamXav," has the same drawback as the commercial suites of being always out of date, but it does not inject code into the operating system. That doesn't mean it's entirely harmless. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
    An anti-virus app is not needed, and should not be relied upon, for protection against OS X malware. It's useful only for detecting Windows malware, and even for that use it's not completely effective. Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else.
    A Windows malware attachment in email is usually easy to recognize. The file name will often be targeted at people who aren't very bright; for example:
    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥!!!!!!!H0TBABEZ4U!!!!!!!.AVI♥♥♥♥♥♥♥♥♥♥♥♥♥♥.exe
    Anti-virus software may be able to tell you which particular trojan it is, but do you really care? In practice, there's seldom a reason to use the software unless an institutional policy requires it. Windows malware is so widespread that you should assume it's in every unknown email attachment until proven otherwise.
    The ClamXav developer won't try to "upsell" you to a paid version of the product. Other developers may do that. Don't be upsold. For one thing, you should not pay to protect Windows users from the consequences of their choice of computing platform. For another, a paid upgrade from a free app will probably have all the disadvantages mentioned in section 7.
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.
    10. As a Mac user you don't have to live in fear that your computer may be infected every time you install software, read email, or visit a web page. But neither should you assume that you will always be safe from exploitation, no matter what you do. The greatest harm done by security software is precisely its selling point: it makes people feel safe. They may then feel safe enough to take risks from which the software doesn't protect them. "Hmmmm, this torrent is a crack of that new game I want. I think I'll download it. It could be a trojan, but the antivirus will warn me if it is." Then they wonder why their Mac is so slow all of a sudden. It's slow because it's running flat out mining bitcoins for a hacker who has already sold their credit card number and banking passwords to a criminal gang. Maybe a week later the antivirus does warn them, but what good does that do?
    Nothing can lessen the need for safe computing practices.

  • Help for a newbie (sort of)

    I finally purchased an iMAC. Last one I had used an OS created by ClarisWorks. So, this is very new to me. Please be patient.
    1. Data Sharing
    There are 2 machines in my house (Windows 7 and iMac). For a better part of 20 years, I have been accruing documents, photos, and music which sits on my WD passport. Now that I added an iMAC to my home network which consists of 2 Windows 7 Pro machines, is there any harm if I use the same drive to save data from my iMAC?
    2. Mobile backup
    I use iTunes (iPhones and iPads) and Samsung Kies (Galaxy phones and tablet) to backup and synchronize data to Microsoft Outlook 2010 (PST) file. Can I do the same with the iMAC?
    Your help is greatly appreciated.

    I was never able to figure out how to get the J2EE engine running, but I copied the VMWare files to a different Windows computer and now the J2EE engine runs when I run it on this computer. I don't understand why this is, but go figure.
    Now that the J2EE engine is running, running Visual Administrator works great. Now, it's onto the next series of lessons in the getting started guide....
    For anyone reading this thread, a couple notes:
    When running Visual Administrator, it executes a program called Go.Bat from the Linux server. This is run within the browser and starts a script on your Windows box that executes the Administrator. This ONLY WORKS when using Internet Explorer. Firefox doesn't execute the Go.bat program - it gives an Object not Found error. This might be a security thing for Firefox, but it works fine in IE with no change of security settings.
    Secondly, I was trying to run the VMWare image using VMWare Fusion on my new MacBook Pro. The Mac can run the VMWare instance fine, but since you have to execute this Go.Bat script in the background then the Mac can't do it. Thus, you have to use a Windows computer to do all the steps in the Getting Started guide.

  • MBP was hacked? Help for a Newbie.

    Hi everyone. I think my WEP was cracked and my MBP was hacked. WEP was cracked because the lock is gone. Tried to restart, sorry don't have access to router to restart that or confirm connections on that hardware. Connecting to MBP via airport. Have been in system preferences and attempted to re-connect with WEP passowrd. I've learned online that WEP2 is better, so lesson learned. If I post the netstat commands I ran would you be able to tell me if my system has been hacked? From my newbie knowledge of how to read netstat I thinkit was-  There have been connections to open port numbers in the 5000 range from which I have read online is an alert. Also, I do not recognize the ip addresses or hostnames and also I see files were sent and received. I've run Mac Scan trial version - but from my knowledge this does not confirm connections to my computer from an ulocked airport connection. Additionally, all of a sudden I have theDS_Store on my system, is this an indicator of a hack. Sorry guys and gals for all the Q's.If this is the incorrect forum for the question could you kindly point me to where I would ask this. Thanks for any help. JO

    Thanks people. I xed out some info I think is personal ip or isp - let me know if you needed this info. i called it my ip but maybe it is my isp - in any case, it starts with 192. Let me know also if i posted too much info.
    netstat - It's alot of info. on the internet I see amazon web servers is  Ec2 is this- and from what I read this is a way to transfer files.
    Today I closed all browsers, and ran netstst -n and netstat.
    as I noticed other times I ran and lookedup the ip address that they were browser tabs that I had opened (makes sense- it's reading what my computer is connected to).....
    Thanks guys.and if i was hacked should I take computer to genius bar or police?
    -  JO
    From today
    netstat -n
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0   2119  XXXXXXXXX2.54750      74.125.224.181.443     ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54749      74.125.224.181.443     ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54748      74.125.224.189.443     ESTABLISHED
    tcp4       0    201  XXXXXXXXX2.54747      75.11XXXXXX.108.134.443      ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54745      199.47.217.177.443     ESTABLISHED
    tcp4       0      0  XXXXXXXXX2.54741      199.47.216.144.80      ESTABLISHED
    tcp4      37      0  XXXXXXXXX6.54707      107.20.249.252.443     CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX6.54706      107.20.249.104.443     CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX6.54705      199.47.216.172.443     CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX6.54702      199.47.217.178.443     CLOSE_WAIT
    tcp4      37      0  10.0.1.6.54521         199.47.216.173.443     CLOSE_WAIT
    tcp4       0      0  127.0.0.1.26165        127.0.0.1.50379        ESTABLISHED
    tcp4       0      0  127.0.0.1.50379        127.0.0.1.26165        ESTABLISHED
    tcp4      37      0  10.0.1.6.49394         107.20.249.164.443     CLOSE_WAIT
    tcp4       0      0  XXXXXXXXX2.54743      69.58.188.38.443       TIME_WAIT
    tcp4       0      0  XXXXXXXXX2.54744      199.59.148.10.80       TIME_WAIT
    tcp4       0      0  XXXXXXXXX2.54742      69.58.188.38.443       TIME_WAIT
    tcp4       0      0  XXXXXXXXX2.54724      74.125.224.243.443     TIME_WAIT
    udp4       0      0  *.*                    *.*                   
    udp6       0      0  *.60916                *.*                   
    udp4       0      0  *.60916                *.*                   
    udp4       0      0  XXXXXXXXX2.123        *.*                   
    udp6       0      0  *.53780                *.*                   
    udp4       0      0  *.53780                *.*                   
    udp6       0      0  *.62813                *.*                   
    udp4       0      0  *.62813                *.*                   
    udp6       0      0  *.63440                *.*                   
    udp4       0      0  *.63440                *.*                   
    udp6       0      0  *.56188                *.*                   
    udp4       0      0  *.56188                *.*                   
    udp6       0      0  *.55626                *.*                   
    udp4       0      0  *.55626                *.*                   
    udp6       0      0  *.56269                *.*                   
    udp4       0      0  *.56269                *.*                   
    udp6       0      0  fe80::e2f8:47ff:.123   *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.17500                *.*                   
    udp4       0      0  127.0.0.1.123          *.*                   
    udp6       0      0  fe80::1%lo0.123        *.*                   
    udp6       0      0  ::1.123                *.*                   
    udp6       0      0  *.123                  *.*                   
    udp4       0      0  *.123                  *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp6       0      0  *.5353                 *.*                   
    udp4       0      0  *.5353                 *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    icm4       0      0  *.*                    *.*                   
    icm6       0      0  *.*                    *.*                   
    Active LOCAL (UNIX) domain sockets
    Address          Type   Recv-Q Send-Q            Inode             Conn             Refs          Nextref Addr
    ffffff80119bc700 stream      0      0                0 ffffff80119baa80                0                0 /var/run/mDNSResponder
    ffffff80119baa80 stream      0      0                0 ffffff80119bc700                0                0
    ffffff80119ba900 stream      0      0                0 ffffff80119bba40                0                0
    ffffff80119bba40 stream      0      0                0 ffffff80119ba900                0                0
    ffffff800d9c52c0 stream      0      0                0                0                0                0
    ffffff800d9c4600 stream      0      0                0 ffffff80119bad80                0                0 /var/run/mDNSResponder
    ffffff80119bad80 stream      0      0                0 ffffff800d9c4600                0                0
    ffffff800d9c5b00 stream      0      0                0 ffffff800c369d40                0                0 /var/run/mDNSResponder
    ffffff800c369d40 stream      0      0                0 ffffff800d9c5b00                0                0
    ffffff800c369c80 stream      0      0                0                0                0                0
    ffffff80119bcf40 stream      0      0                0 ffffff80119bce80                0                0 /.dbfseventsd
    ffffff80119bce80 stream      0      0                0 ffffff80119bcf40                0                0
    ffffff800d9c4000 stream      0      0 ffffff800fcd81f0                0                0                0 /.dbfseventsd
    ffffff800bda9540 stream      0      0                0 ffffff800d9c4fc0                0                0
    ffffff800d9c4fc0 stream      0      0                0 ffffff800bda9540                0                0
    ffffff800d9c4300 stream      0      0                0 ffffff800d9c4240                0                0 /tmp/launchd-95.uZCVf1/sock
    ffffff800d9c4240 stream      0      0                0 ffffff800d9c4300                0                0
    ffffff800d9c43c0 stream      0      0                0 ffffff800d9c4480                0                0
    ffffff800d9c4480 stream      0      0                0 ffffff800d9c43c0                0                0
    ffffff800d9c5140 stream      0      0                0 ffffff800d9c5080                0                0 /var/run/mDNSResponder
    ffffff800d9c5080 stream      0      0                0 ffffff800d9c5140                0                0
    ffffff800c36a100 stream      0      0                0 ffffff800bda9600                0                0 /var/run/mDNSResponder
    ffffff800bda9600 stream      0      0                0 ffffff800c36a100                0                0
    ffffff800c369bc0 stream      0      0                0 ffffff800bda9cc0                0                0 /var/tmp/launchd/sock
    ffffff800bda9cc0 stream      0      0                0 ffffff800c369bc0                0                0
    ffffff800c368840 stream      0      0                0 ffffff800d9c6940                0                0 /var/run/mDNSResponder
    ffffff800d9c6940 stream      0      0                0 ffffff800c368840                0                0
    ffffff800bdaa200 stream      0      0                0 ffffff800bdaa140                0                0 /var/run/mDNSResponder
    ffffff800bdaa140 stream      0      0                0 ffffff800bdaa200                0                0
    ffffff800d9c5e00 stream      0      0                0 ffffff800d9c5ec0                0                0 /var/run/usbmuxd
    ffffff800d9c5ec0 stream      0      0                0 ffffff800d9c5e00                0                0
    ffffff800d9c5f80 stream      0      0                0 ffffff800d9c6040                0                0 /var/run/mDNSResponder
    ffffff800d9c6040 stream      0      0                0 ffffff800d9c5f80                0                0
    ffffff800d9c6100 stream      0      0                0 ffffff800d9c61c0                0                0 /var/run/mDNSResponder
    ffffff800d9c61c0 stream      0      0                0 ffffff800d9c6100                0                0
    ffffff800d9c6280 stream      0      0                0 ffffff800d9c6340                0                0 /var/run/mDNSResponder
    ffffff800d9c6340 stream      0      0                0 ffffff800d9c6280                0                0
    ffffff800d9c6400 stream      0      0                0 ffffff800d9c64c0                0                0 /var/run/mDNSResponder
    ffffff800d9c64c0 stream      0      0                0 ffffff800d9c6400                0                0
    ffffff800c36ab80 stream      0      0                0 ffffff800bda9300                0                0 /var/run/mDNSResponder
    ffffff800bda9300 stream      0      0                0 ffffff800c36ab80                0                0
    ffffff800c36a1c0 stream      0      0                0 ffffff800c369140                0                0 /var/run/mDNSResponder
    ffffff800c369140 stream      0      0                0 ffffff800c36a1c0                0                0
    ffffff800d9c6700 stream      0      0                0 ffffff800d9c6880                0                0 /var/run/mDNSResponder
    ffffff800d9c6880 stream      0      0                0 ffffff800d9c6700                0                0
    ffffff800c368900 stream      0      0 ffffff800de9a550                0                0                0 /tmp/icssuis502
    ffffff800c3692c0 stream      0      0                0 ffffff800c369ec0                0                0 /var/run/mDNSResponder
    ffffff800c369ec0 stream      0      0                0 ffffff800c3692c0                0                0
    ffffff800d9c6e80 stream      0      0                0 ffffff800d9c6d00                0                0 /var/run/usbmuxd
    ffffff800d9c6d00 stream      0      0                0 ffffff800d9c6e80                0                0
    ffffff800c3683c0 stream      0      0                0 ffffff800c368540                0                0 /var/run/mDNSResponder
    ffffff800c368540 stream      0      0                0 ffffff800c3683c0                0                0
    ffffff800bdaa080 stream      0      0                0 ffffff800bda9d80                0                0 /var/run/mDNSResponder
    ffffff800bda9d80 stream      0      0                0 ffffff800bdaa080                0                0
    ffffff800bda9480 stream      0      0                0 ffffff800bda9780                0                0 /var/run/mDNSResponder
    ffffff800bda9780 stream      0      0                0 ffffff800bda9480                0                0
    ffffff800bda9000 stream      0      0                0 ffffff800c36a580                0                0
    ffffff800c36a580 stream      0      0                0 ffffff800bda9000                0                0
    ffffff800c36a280 stream      0      0                0 ffffff800c36ad00                0                0
    ffffff800c36ad00 stream      0      0                0 ffffff800c36a280                0                0
    ffffff800c36aa00 stream      0      0                0 ffffff800c36a880                0                0
    ffffff800c36a880 stream      0      0                0 ffffff800c36aa00                0                0
    ffffff800c369b00 stream      0      0                0 ffffff800c369500                0                0
    ffffff800c369500 stream      0      0                0 ffffff800c369b00                0                0
    ffffff800c369f80 stream      0      0 ffffff800d57f1f0                0                0                0 /tmp/launch-Uw8Fqt/org.x:0
    ffffff800c368cc0 stream      0      0 ffffff800d57f3e0                0                0                0 /tmp/launch-5PRrer/Listeners
    ffffff800c369680 stream      0      0 ffffff800d57f5d0                0                0                0 /tmp/launch-JsZCof/Render
    ffffff800c369080 stream      0      0 ffffff800d57fe88                0                0                0 /tmp/launchd-95.uZCVf1/sock
    ffffff800c369800 stream      0      0                0 ffffff800c369380                0                0
    ffffff800c369380 stream      0      0                0 ffffff800c369800                0                0
    ffffff800c368d80 stream      0      0                0 ffffff800c369440                0                0
    ffffff800c369440 stream      0      0                0 ffffff800c368d80                0                0
    ffffff800c368fc0 stream      0      0                0 ffffff800c369740                0                0
    ffffff800c369740 stream      0      0                0 ffffff800c368fc0                0                0
    ffffff800c36aac0 stream      0      0                0 ffffff800bdaa2c0                0                0
    ffffff800bdaa2c0 stream      0      0                0 ffffff800c36aac0                0                0
    ffffff800bdaa680 stream      0      0                0 ffffff800bda9b40                0                0
    ffffff800bda9b40 stream      0      0                0 ffffff800bdaa680                0                0
    ffffff800bda99c0 stream      0      0                0 ffffff800bda9240                0                0 /var/run/mDNSResponder
    ffffff800bda9240 stream      0      0                0 ffffff800bda99c0                0                0
    ffffff800bda96c0 stream      0      0                0 ffffff800c36a4c0                0                0
    ffffff800c36a4c0 stream      0      0                0 ffffff800bda96c0                0                0
    ffffff800c368e40 stream      0      0 ffffff800c57fc98                0                0                0 /var/run/pppconfd
    ffffff800c36a340 stream      0      0                0 ffffff800c36a400                0                0
    ffffff800c36a400 stream      0      0                0 ffffff800c36a340                0                0
    ffffff800c36a640 stream      0      0                0 ffffff800c36a700                0                0
    ffffff800c36a700 stream      0      0                0 ffffff800c36a640                0                0
    ffffff800c36adc0 stream      0      0                0 ffffff800c36ae80                0                0
    ffffff800c36ae80 stream      0      0                0 ffffff800c36adc0                0                0
    ffffff800bda90c0 stream      0      0                0 ffffff800bda9180                0                0
    ffffff800bda9180 stream      0      0                0 ffffff800bda90c0                0                0
    ffffff800bda9840 stream      0      0                0 ffffff800bda9900                0                0
    ffffff800bda9900 stream      0      0                0 ffffff800bda9840                0                0
    ffffff800bda9e40 stream      0      0                0 ffffff800bda9f00                0                0
    ffffff800bda9f00 stream      0      0                0 ffffff800bda9e40                0                0
    ffffff800bdaa800 stream      0      0                0 ffffff800bdaa740                0                0
    ffffff800bdaa740 stream      0      0                0 ffffff800bdaa800                0                0
    ffffff800bdaa8c0 stream      0      0                0 ffffff800bdaa980                0                0
    ffffff800bdaa980 stream      0      0                0 ffffff800bdaa8c0                0                0
    ffffff800bdaab00 stream      0      0                0 ffffff800bdaaa40                0                0 /var/tmp/launchd/sock
    ffffff800bdaaa40 stream      0      0                0 ffffff800bdaab00                0                0
    ffffff800bdaabc0 stream      0      0                0 ffffff800bdaac80                0                0
    ffffff800bdaac80 stream      0      0                0 ffffff800bdaabc0                0                0
    ffffff800bdaae00 stream      0      0                0 ffffff800bdaad40                0                0 /var/tmp/launchd/sock
    ffffff800bdaad40 stream      0      0                0 ffffff800bdaae00                0                0
    ffffff800bdaaf80 stream      0      0                0 ffffff800bdaaec0                0                0
    ffffff800bdaaec0 stream      0      0                0 ffffff800bdaaf80                0                0
    ffffff800bdab100 stream      0      0                0 ffffff800bdab040                0                0
    ffffff800bdab040 stream      0      0                0 ffffff800bdab100                0                0
    ffffff800bdab280 stream      0      0                0 ffffff800bdab1c0                0                0
    ffffff800bdab1c0 stream      0      0                0 ffffff800bdab280                0                0
    ffffff800bdab400 stream      0      0                0 ffffff800bdab340                0                0
    ffffff800bdab340 stream      0      0                0 ffffff800bdab400                0                0
    ffffff800bdab4c0 stream      0      0                0 ffffff800bdab580                0                0
    ffffff800bdab580 stream      0      0                0 ffffff800bdab4c0                0                0
    ffffff800bdab7c0 stream      0      0 ffffff800c110740                0                0                0 /var/tmp/launchd/sock
    ffffff800bdab880 stream      0      0 ffffff800c110930                0                0                0 /private/var/run/cupsd
    ffffff800bdab940 stream      0      0 ffffff800c110c18                0                0                0 /var/run/usbmuxd
    ffffff800bdabac0 stream      0      0 ffffff800c110e08                0                0                0 /var/run/asl_input
    ffffff800bdabb80 stream      0      0 ffffff800c110f00                0                0                0 /var/run/SCHelper
    ffffff800bdabc40 stream      0      0 ffffff800c0f6000                0                0                0 /var/run/vpncontrol.sock
    ffffff800bdabd00 stream      0      0 ffffff800c0f60f8                0                0                0 /private/var/run/printtool
    ffffff800bdabdc0 stream      0      0 ffffff800c0f61f0                0                0                0 /var/run/portmap.socket
    ffffff800bdabf40 stream      0      0 ffffff800c0f62e8                0                0                0 /var/run/mDNSResponder
    ffffff800bdabe80 stream      0      0 ffffff800c0f63e0                0                0                0 /var/run/com.apple.ActivityMonitor.socket
    ffffff80119bca00 dgram       0      0                0 ffffff80119bbd40 ffffff80119bbd40                0
    ffffff80119bbd40 dgram       0      0                0 ffffff80119bca00 ffffff80119bca00                0
    ffffff80119bb680 dgram       0      0                0 ffffff80119bc7c0 ffffff80119bc7c0                0
    ffffff80119bc7c0 dgram       0      0                0 ffffff80119bb680 ffffff80119bb680                0
    ffffff800d9c5980 dgram       0      0                0 ffffff800bda9fc0 ffffff800bda9fc0                0
    ffffff800bda9fc0 dgram       0      0                0 ffffff800d9c5980 ffffff800d9c5980                0
    ffffff800d9c6ac0 dgram       0      0                0 ffffff800d9c4cc0 ffffff800d9c4cc0                0
    ffffff800d9c4cc0 dgram       0      0                0 ffffff800d9c6ac0 ffffff800d9c6ac0                0
    ffffff800d9c4540 dgram       0      0                0 ffffff800d9c4f00 ffffff800d9c4f00                0
    ffffff800d9c4f00 dgram       0      0                0 ffffff800d9c4540 ffffff800d9c4540                0
    ffffff800d9c6580 dgram       0      0                0 ffffff800d9c6640 ffffff800d9c6640                0
    ffffff800d9c6640 dgram       0      0                0 ffffff800d9c6580 ffffff800d9c6580                0
    ffffff800c368180 dgram       0      0                0 ffffff800d9c6b80 ffffff800d9c6b80                0
    ffffff800d9c6b80 dgram       0      0                0 ffffff800c368180 ffffff800c368180                0
    ffffff800d9c6a00 dgram       0      0                0 ffffff800c368000 ffffff800c368000                0
    ffffff800c368000 dgram       0      0                0 ffffff800d9c6a00 ffffff800d9c6a00                0
    ffffff800c3686c0 dgram       0      0                0 ffffff800d9c6dc0 ffffff800d9c6dc0                0
    ffffff800d9c6dc0 dgram       0      0                0 ffffff800c3686c0 ffffff800c3686c0                0
    ffffff800c3689c0 dgram       0      0                0 ffffff800c368a80 ffffff800c368a80                0
    ffffff800c368a80 dgram       0      0                0 ffffff800c3689c0 ffffff800c3689c0                0
    ffffff800bda9c00 dgram       0      0                0 ffffff800bda9a80 ffffff800bda9a80                0
    ffffff800bda9a80 dgram       0      0                0 ffffff800bda9c00 ffffff800bda9c00                0
    ffffff800c3698c0 dgram       0      0                0 ffffff800c36a7c0 ffffff800c36a7c0                0
    ffffff800c36a7c0 dgram       0      0                0 ffffff800c3698c0 ffffff800c3698c0                0
    ffffff800c36af40 dgram       0      0                0 ffffff800c36a040 ffffff800c36a040                0
    ffffff800c36a040 dgram       0      0                0 ffffff800c36af40 ffffff800c36af40                0
    ffffff800bda93c0 dgram       0      0                0 ffffff800c36a940 ffffff800c36a940                0
    ffffff800c36a940 dgram       0      0                0 ffffff800bda93c0 ffffff800bda93c0                0
    ffffff800bdaa440 dgram       0      0                0 ffffff800bdaa500 ffffff800bdaa500                0
    ffffff800bdaa500 dgram       0      0                0 ffffff800bdaa440 ffffff800bdaa440                0
    ffffff800bdaba00 dgram       0      0 ffffff800c110d10                0                0                0 /var/run/syslog
    from today
    netstat
    Active Internet connections
    Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
    tcp4       0   2119  XXXXXXXXX.2.54746      lax02s01-in-f21..https ESTABLISHED
    tcp4       0    762  XXXXXXXXX.2.54745      v-d-1b.sjc.dropb.https ESTABLISHED
    tcp4       0      0  XXXXXXXXX.2.54741      sjc-not1.sjc.dro.http  ESTABLISHED
    tcp4      37      0  XXXXXXXXX.6.54707      ec2-107-20-249-2.https CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX.6.54706      ec2-107-20-249-1.https CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX.6.54705      v-client-1a.sjc..https CLOSE_WAIT
    tcp4      37      0  XXXXXXXXX.6.54702      199.47.217.178.https   CLOSE_WAIT
    tcp4      37      0  10.0.1.6.54521         v-client-2a.sjc..https CLOSE_WAIT
    tcp4       0      0  localhost.26165        localhost.50379        ESTABLISHED
    tcp4       0      0  localhost.50379        localhost.26165        ESTABLISHED
    tcp4      37      0  10.0.1.6.49394         ec2-107-20-249-1.https CLOSE_WAIT
    tcp4       0      0  XXXXXXXXX.2.54743      69.58.188.38.https     TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54725      lax04s08-in-f19..https TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54744      r-199-59-148-10..http  TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54742      69.58.188.38.https     TIME_WAIT
    tcp4       0      0  XXXXXXXXX.2.54724      lax04s08-in-f19..https TIME_WAIT
    udp4       0      0  XXXXXXXXX.2.ntp        *.*                   
    udp6       0      0  *.53780                *.*                   
    udp4       0      0  *.53780                *.*                   
    udp6       0      0  *.62813                *.*                   
    udp4       0      0  *.62813                *.*                   
    udp6       0      0  *.63440                *.*                   
    udp4       0      0  *.63440                *.*                   
    udp6       0      0  *.56188                *.*                   
    udp4       0      0  *.56188                *.*                   
    udp6       0      0  *.55626                *.*                   
    udp4       0      0  *.55626                *.*                   
    udp6       0      0  *.56269                *.*                   
    udp4       0      0  *.56269                *.*                   
    udp6       0      0  sp.ntp                 *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.17500                *.*                   
    udp4       0      0  localhost.ntp          *.*                   
    udp6       0      0  localhost.ntp          *.*                   
    udp6       0      0  localhost.ntp          *.*                   
    udp6       0      0  *.ntp                  *.*                   
    udp4       0      0  *.ntp                  *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    udp6       0      0  *.mdns                 *.*                   
    udp4       0      0  *.mdns                 *.*                   
    udp4       0      0  *.*                    *.*                   
    udp4       0      0  *.*                    *.*                   
    icm4       0      0  *.*                    *.*                   
    icm6       0      0  *.*                    *.*                   
    Active LOCAL (UNIX) domain sockets
    Address          Type   Recv-Q Send-Q            Inode             Conn             Refs          Nextref Addr
    ffffff80119bba40 stream      0      0                0 ffffff80119ba900                0                0
    ffffff80119ba900 stream      0      0                0 ffffff80119bba40                0                0
    ffffff800d9c4180 stream      0      0                0 ffffff800c369a40                0                0 /var/tmp/launchd/sock
    ffffff800c369a40 stream      0      0                0 ffffff800d9c4180                0                0
    ffffff800c369200 stream      0      0                0 ffffff800d9c40c0                0                0
    ffffff800d9c40c0 stream      0      0                0 ffffff800c369200                0                0
    ffffff800c369980 stream      0      0                0 ffffff800d9c52c0                0                0 /private/var/run/cupsd
    ffffff800d9c52c0 stream      0      0                0 ffffff800c369980                0                0
    ffffff80119bc700 stream      0      0                0 ffffff80119baa80                0                0 /var/run/mDNSResponder
    ffffff80119baa80 stream      0      0                0 ffffff80119bc700                0                0
    ffffff800d9c4600 stream      0      0                0 ffffff80119bad80                0                0 /var/run/mDNSResponder
    ffffff80119bad80 stream      0      0                0 ffffff800d9c4600                0                0
    ffffff800d9c5b00 stream      0      0                0 ffffff800c369d40                0                0 /var/run/mDNSResponder
    ffffff800c369d40 stream      0      0                0 ffffff800d9c5b00                0                0
    ffffff800c369c80 stream      0      0                0                0                0                0
    ffffff80119bcf40 stream      0      0                0 ffffff80119bce80                0                0 /.dbfseventsd
    ffffff80119bce80 stream      0      0                0 ffffff80119bcf40                0                0
    ffffff800d9c4000 stream      0      0 ffffff800fcd81f0                0                0                0 /.dbfseventsd
    ffffff800bda9540 stream      0      0                0 ffffff800d9c4fc0                0                0
    ffffff800d9c4fc0 stream      0      0                0 ffffff800bda9540                0                0
    ffffff800d9c4300 stream      0      0                0 ffffff800d9c4240                0                0 /tmp/launchd-95.uZCVf1/sock
    ffffff800d9c4240 stream      0      0                0 ffffff800d9c4300                0                0
    ffffff800d9c43c0 stream      0      0                0 ffffff800d9c4480                0                0
    ffffff800d9c4480 stream      0      0                0 ffffff800d9c43c0                0                0
    ffffff800d9c5140 stream      0      0                0 ffffff800d9c5080                0                0 /var/run/mDNSResponder
    ffffff800d9c5080 stream      0      0                0 ffffff800d9c5140                0                0
    ffffff800c36a100 stream      0      0                0 ffffff800bda9600                0                0 /var/run/mDNSResponder
    ffffff800bda9600 stream      0      0                0 ffffff800c36a100                0                0
    ffffff800c369bc0 stream      0      0                0 ffffff800bda9cc0                0                0 /var/tmp/launchd/sock
    ffffff800bda9cc0 stream      0      0                0 ffffff800c369bc0                0                0
    ffffff800c368840 stream      0      0                0 ffffff800d9c6940                0                0 /var/run/mDNSResponder
    ffffff800d9c6940 stream      0      0                0 ffffff800c368840                0                0
    ffffff800bdaa200 stream      0      0                0 ffffff800bdaa140                0                0 /var/run/mDNSResponder
    ffffff800bdaa140 stream      0      0                0 ffffff800bdaa200                0                0
    ffffff800d9c5e00 stream      0      0                0 ffffff800d9c5ec0                0                0 /var/run/usbmuxd

  • LCD/HDTV help for a newbie

    I am a longtime BB customer and am finally taking the HDTV plunge.  I have narrowed it down a bit to the Insignia NS-L37Q (32" is too small, 40" is too big) versus a Dynex DX-37L150A11.  I am not a cinephile so the basic features are fine with me and the price is right (I am a cheapskate).  It is a 37", 1080p LCD HDTV.  This is for basic TV, sports, DVD viewing.  Please indulge a few newbie questions. 
    1) The one small reservation I have is the Insignia's native contrast ratio at 1400:1 and brightness 500/cd/m2.  Should I be concerned that it isn't high enough?  I note the Dynex 37" in the same price range is 4000:1 but 450/cd/m2.
    2) I have DISH satellite but may switch to DirectTV but assume both are similar.  I assume I'll need a special HDTV box from them, correct?  And HDMI cable to connect from box to set?
    3) I have never bought a service plan in my life but am considering one for this.  The Insignia already comes with a 2 year warrenty and this extends it to 4 as I understand it.  Is $89 on a $549 LCD worth it?  I'll be ticked if a pixel goes out in the middle of the screen, but does "burn in" still even happen on these units?
    4) I run the DVD player through my stereo currently (because I am too cheap to buy home theatre sound) so would I just hook that up the same way through the audio inputs?  I understand it won't be digital or anything.
    5)  It has 3:2 inverse pulldown.  Is that good and why should I care?
    Any help from the experts here is greatly appreciated. 
    Solved!
    Go to Solution.

    I would recommend the Insignia, as both are Best Buy house brands but I've noticed better image quality and reliability with the Insignia's as opposed to the Dynex tv's.
    1)  While the Dynex has the better contrast ratio, the difference between 1400:1 and 4000:1 is not very staggering.  Disregard this comparison.  
    2)  Yes you will need a set-top-box from DirecTV, fortunately you can pick these boxes up at the store and can subscribe to your DirecTV account while you shop.
    3)  $89 for 2 years of peace of mind on an LCD tv is worth it, though I don't think it extends the contract to 4 years, rather, the service plan covers "normal wear and tear/heating issues/power surges", whereas the standard 2 year warranty only covers manufacturer's defective parts and labor.  $89 is fair, cheapskate or not.
    4)  Your DVD player setup will work fine, but consider getting a blu ray for next Christmas, you'll thank me later.  
    5)  Don't worry about this.
    I don't claim to be an expert, but I am an enthusiast, so any "experts" out there feel free to chime in and correct me if I may be wrong. 
    If you like posts that I make, be sure to click on the star underneath my name. Thanks!

  • Editing help for a newbie :) baby photo editing effect

    hello everyone Firtly im sorry if i am posting in totally the wrong area but its the first time i have been on the site so not too sure of my way around lol
    Im in desperate need of some help with photo editing in cs3.
    basically i have seen some baby photos someone i 'know' has taken where a lovely effect has been applied. I asked her how and this is what she said:
    'I create a fill layer of a shade of the middle tone of the sikin colour reduce the opacity, then add a texture mask to bring back a bit more of the features and paint it on the areas .. then just sharpen areas such as eyes nose and mouth .. and highlights to the corners of the eyes and centre of the mouth .. and then select high pass as a mask and that makes the image pop out a little bit'
    But being a newbie i have no idea how to do any of this!! lol i know my way around photo shop a bit but just afetr ANYONE who can help me step by step pretty pretty please?
    here are 2 examples of the images that use the effect incase that makes it easier for anyone to know what i mean lol (hope the links work)
    Thank you all in advance if you can help xx

    The description seems somewhat unclear in parts.
    'I create a fill layer of a shade of the middle tone of the sikin colour reduce the opacity, then add a texture mask to bring back a bit more of the features and paint it on the areas ..
    Nor sure what she means with »texture mask«, but possibly just applying heavy noise (Filter > Noise > Add Noise) on the Layer Mask.
    then just sharpen areas such as eyes nose and mouth ..
    One option is applying Filter > Sharpening > Unsharp Mask to a copy of the Smart Object and setting it to Blend Mode Luminance and painting on its Layer Mask.
    and highlights to the corners of the eyes and centre of the mouth ..
    This could be done with a Curves- or Levels Adjustment Layer.
    and then select high pass as a mask and that makes the image pop out a little bit'
    That seems more than a little unclear to me – making a Selection of a High Pass-result and using it as a Mask for what?
    One can use the High Pass Filter for sharpening.

  • Applet security settings for Java 1.1.8

    I receive a security exception because an applet running with JRE 1.1.8 tries to call System.getProperties().
    Is there a way I can allow the applet to access the properties?
    I know that there is a way in new JRE's with the java.policy files but I haven't found any information about that kind of possibilty in 1.1.8
    Thanks

    Okay, let's say you do find a way to modify the java.policy file to circumvent the applet restrictions (I don't think you can fully, but let's just do so for argument's sake). Now, you have an applet. Downloadable code. Are you going to instruct users to modify their java.policy file locally? Does the IE or Oracle JVM even read that file?
    Sign the applet or make a full-blown, downloadable application (if using Swing, you will need to have users also bundle the Java 1.2 classes). You don't have too many options.
    - Saish
    "My karma ran over your dogma." - Anon

  • Help for the Newbie

    Eh, I might hang around a while, so you might as well know that I'm new to this stuff, and I may need a lot of help over time. I guess that's what these forums are for though right? Anyway, my future goal is gaming, and I might look around the game section once I become more skilled. The only game I created was in um.... coughTruebasic*cough*. Anyway, on to my first question:
    I've got my simple little test program(Application, not applet): A JFrame, and a button on it. When I hit this button, it calls the repaint() method of a subclass of JPanel, which, essentially, just paints an image on itself. Everything works except for one thing. When the picture is painted, the only thing that shows up is a tiny little square next to the button a few pixles wide. This is appearently the corner of my picture. Any idea on how to fix this?

    Make sure you set your JPanel's PrefereSize to somehing like
    the Image's width and height.
    Also, maybe play with the Layout. If this all looks greek,
    then look to the Tutorials (left side of page) and APIs
    for details. The APIs should be your best friends.

  • Need help for a newbie problem

    I am VERY new to all this Java programming but have really started to enjoy it.
    I have two problems with my program that I can not find answers to.
    1. I am looking to find out why my code will not select the right answers when I select the first choice in the array. The answer that is delivered turns out to be the 3rd selection. The second and third selection work great, but the first selection always turns out with the thrid answer.
    2. I know I need to do better error checking on the user input. At this point I am only checking for correct integer input, but I dont know how to fix or avoid the error for when the user would mistakedly enter letters instead of numbers.
    Any hints?
    Code to follow... I hope...
    No gui allowed for this program.
    First time posting so I hope this works and I do it the right way...
    import java.text.DecimalFormat;      //To round to 2 decimal places for payment format.
    import java.io.*;                          //Allows User to input.
    public class Wk5JimP
         //classes for keyboard inputs from user
         public static InputStreamReader reader = new InputStreamReader (System.in);
         public static BufferedReader keyboard = new BufferedReader (reader);
         //main
         public static void main (String[] args) throws IOException
              //Variables
              DecimalFormat decimal = new DecimalFormat("#,##0.00");     //Makes the decimal format for the output
              int appAmount = 200000;                                             //approved loan amount
              short rPay = 0;                                                       //repayment option
              int ps;                                                                 //payment schedule switching variable.
              //Year array and variables
              int yTerm[] = {30, 15, 7,};                                        //Term of the loan in years array
              short rOller2 = 0;                                                  //looping variable for rolling the years
              short rOller3 = 0;                                                  //looping variable for rolling the years
              //Month array and variables
              int mTerm[] = {360, 180, 84,};                                   //Term of the loan in months array
              short rOller = 0;                                                  //looping variable for rolling the months
              short rOller1 = 0;                                                  //looping variable for rolling the months
              //Interest rate array and variables
              double iRate[] = {5.75, 5.50, 5.35,};                              //interest rate array
              int liRate = 0;                                                       //looping variable for interest rate
              int liRate1 = 0;                                                  //looping variable for interest rate
              // Payment array and variables
              double mPayment[] = {
                   ((appAmount*(iRate[0]/12/100))/(1-1/Math.pow((1+iRate[0]/12/100), mTerm[0]))),
                   ((appAmount*(iRate[1]/12/100))/(1-1/Math.pow((1+iRate[1]/12/100), mTerm[1]))),
                   ((appAmount*(iRate[2]/12/100))/(1-1/Math.pow((1+iRate[2]/12/100), mTerm[2])))
                                       };                                             //monthly payment array
              int lPay = 0;                                                       //looping variable for payment incrementation
              int lPay1 = 0;                                                       //looping variable for payment incrementation
              //Dollar amounts into decimal format of two places
              String fappAmount = decimal.format(appAmount);
              //Output to screen for header information
              System.out.println();
              System.out.println("Congratulations!");
              System.out.println("You are approved for a $" + fappAmount + " loan");
              System.out.println("The three repayment options are listed below.\n");
              System.out.println("-------------------------------------------------------------------------");
              System.out.println(" Repayment\t Loan\t\t   Term\t\t  Interest\t  Monthly");
              System.out.println("  Option\tAmount\t       Years   Months\t  Rate \t          Payment");
              System.out.println("-------------------------------------------------------------------------");
              //Begin repayment option loop for calculation
              while (rOller != 3)
                        // if else loop to second and third repayment options
                      if (rOller1 <= 2)
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];
                                     mTerm[rOller] = mTerm[rOller1++];
                                     iRate[liRate] = iRate[liRate1++];
                                //Output to screen for numerical repayment option info
                              System.out.println("    " + rPay + "\t    $" + fappAmount + "\t\t " + yTerm[rOller2] + "\t" + mTerm[rOller] + "\t    " + decimal.format(iRate[liRate]) + "% \t$" + decimal.format(mPayment[lPay])+ "\n\n");
                        else
                             //begin payment option selection
                             System.out.println();
                             System.out.println("Which one of the payment schedules would you like to see?\n");
                             System.out.println("Please enter 1 or 2 or 3 to see the payment schedule\nor enter any other number to exit.");
                             ps = Integer.parseInt(keyboard.readLine());
                                  switch (ps)
                                            case 1:
                                                 System.out.println("\nOption #1\n");
                                                 paysched(yTerm[0], appAmount, iRate[0], mPayment[0]);
                                                 break;
                                            case 2:
                                                 System.out.println("\nOption #2\n\n");
                                                 paysched(yTerm[1], appAmount, iRate[1], mPayment[1]);
                                                 break;
                                            case 3:
                                                 System.out.println("\nOption #3\n\n");
                                                 paysched(yTerm[2], appAmount, iRate[2], mPayment[2]);
                                                 break;
                                            default:
                                                 System.out.println("Thank you!\n\n");
                                                 System.exit(0);
                                      }//end switch
                   }//end while
              }//end main
                             //payment schedule method
                             public static void paysched(int yTerm, int appAmount, double iRate, double mPayment) throws IOException
                             //Declare variables for looped calculations
                             DecimalFormat decimal = new DecimalFormat("#,##0.00");     //Makes the decimal format for the output
                             double balance = appAmount;
                             double monIRate = iRate / 12;
                             double iPay = 0;
                             double pPay = 0;
                             short pNum = 1;
                             short year = 1;
                             //Header Output to screen for payment schedule
                             System.out.println("-------------------------------------------------------------------------");
                             System.out.println("   Payment \t   Principle\tInterest\tTotal \t\tBalance");
                             System.out.println(" Year  Month\t   Payment\tPayment \tPayment \tRemaining");
                             System.out.println("-------------------------------------------------------------------------");
                             //Loop for shceduled payment calculation for all but the final year
                             do
                                       //Apply the payment
                                       iPay = balance * (monIRate /100);
                                       pPay = mPayment - iPay;
                                       balance = balance - pPay;
                                       //Output to screen for payment information
                                       System.out.println("   " +year+ " \t " +pNum+ " \t  $" +(decimal.format(pPay))+ "\t$" +(decimal.format(iPay))+ "\t      $" +(decimal.format(mPayment))+ "\t     $" +(decimal.format(balance)));
                                       pNum++;
                                       if (pNum % 13 == 0)
                                            System.out.println("Press enter to see the next year payments.");
                                            System.in.read();
                                            System.in.read();
                                            year++;
                                            pNum = 1;
                                            //Output to screen for payment schedule
                                            System.out.println("-------------------------------------------------------------------------");
                                            System.out.println("   Payment \t   Principle\tInterest\tTotal \t\tBalance");
                                            System.out.println(" Year  Month\t   Payment\tPayment \tPayment \tRemaining");
                                            System.out.println("-------------------------------------------------------------------------");
                                            } //end if
                                    } //end do
                             while(year < yTerm);
                             //Final Year calculations
                             do
                                       //Apply the payment
                                       iPay = balance * (monIRate /100);
                                       pPay = mPayment - iPay;
                                       balance = balance - pPay;
                                       //Output to screen for payment information
                                       System.out.println("   " +year+ " \t " +pNum+ " \t  $" +(decimal.format(pPay))+ "\t$" +(decimal.format(iPay))+ "\t      $" +(decimal.format(mPayment))+ "\t     $" +(decimal.format(balance)));
                                       pNum++;
                                       if (pNum % 13 == 0)
                                            System.out.println("Please press enter to select and view another payment schedule.");
                                            System.in.read();
                                            System.in.read();
                                            year++;
                                            } //end if
                                  }//end do
                             while(year < (yTerm+1));
                        }//end class
    }//end classThis is my first post so please be gentle...
    Thanks for any help!

    When you choose Java to solve the problems, you need to adapt to the power/strategies/methodology that java offers you, and thats the way for solving problems in Java.
    Why would you put the entire implementation for calculation inside main method? You could break down the program into smaller methods which could do the calculation bit and then call them in main method.
    Anyways the reason that it is calculating for term of 7 years is that
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];You are changing the value of the array yTerm[ ]. Hence once the control is out of the for loop the value of y[0]=7,y[1]=7 and y[2]=7.
    Solution 1: mark yTerm as final.
    Solution 2: set yTerm[0], yTerm[1] back as 30,15 after the for loop.
                      if (rOller1 <= 2)
                           // for statement loops last repayment option
                           for (rPay = 1; rPay <=3; rPay++)
                                    {mPayment[lPay] = mPayment[lPay1++];
                                     yTerm[rOller2] = yTerm[rOller3++];
                                     mTerm[rOller] = mTerm[rOller1++];
                                     iRate[liRate] = iRate[liRate1++];
                                //Output to screen for numerical repayment option info
                              System.out.println("    " + rPay + "\t    $" + fappAmount + "\t\t " + yTerm[rOller2] + "\t" + mTerm[rOller] + "\t    " + decimal.format(iRate[liRate]) + "% \t$" + decimal.format(mPayment[lPay])+ "\n\n");
                           yTerm [0]=30;
                           yTerm [1]=15;
                              }Futher the issue is with monthly calculation of pay back amount in switch - case statement.
    As you have not provided what the problem is and what is the criteria for calculation of monthly interest or reducing the amount etc. Its not possible (at least for me) to tell you why it would run to negative. Mathematically that is the only thing possible,
    Step 1: make those changes in your code. Make changes required to claculate the balance.
    Step 2: Execute the new code and
    Step 3: Gimme the dukes.
    Cheers
    $

  • Help for a newbie using the SAP tutorial

    Hi All,
    This is the first time i have picked up the SAP SDK and I am following the tutorial that is in the the help document that is installed with the SDK installation. 
    Under the developers guide section > Tutorial: Blanket Agreement Solution
    I have worked down to Part 4 and I am stuck on step 1 (create an installer)
    Towards the end of the page it talks about creating a new project and to opening line is:  "Add the BlanketAgreement.exe file to the project and change its Build Action to Embedded Resource."
    Can somebody give me some help here please because upuntil now there has been no mention of the BlanketAgreement.exe.
    Equally can anybody suggest some more tutorials that will help be get into the SDK.
    Many thanks,
    Mike

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • Bit of help for a newbie please

    Hi,
    I'm bumbling my way through some Applescript for simply clicking some links on a webpage in Safari.
    I've used UI Browser to get me the link resource info however when cycling through the same page, every now and again, the group ID seems to change for the text link. I was wondering how I go about querying the group ID so I can possibly out in an if/then or other conditional statement.
    The activating code line is here:
    click static text "Click Here" of UI element "Click Here" of group 12 of UI element 1 of scroll area 1 of group 4 of window "Some Window Title"
    So in the above, I'm trying to get the 12 in the group 12 part of the statement.
    Any clues anyone.
    Thanks if you can help
    Martin

    One of the traps those new to Applescript fall into is resorting to UI scripting too early when it should be an absolute last resort. Applescript wasn't designed to drive the UI, its an inter-application communication facilitator. There is an alternative method available.
    Use "curl" from the shell to download the page source to a variable
    Parse out the urls you need
    Use getURL to go to activate the url(s).
    Copy this to your browser for the "curl" man page -> x-man-page://curl
    Here's a 2 line example script to get you started ->
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;">
    set foo to do shell script "/usr/bin/curl 'http://www.apple.com'"
    set bar to find text "<script src=\"(http://.&#42;)\" type=" in foo using "\\1" with all occurrences, regexp and string result
    </pre>
    This uses the [Satimage Scripting Addition|http://www.satimage.fr/software/en/downloads/downloadscompanionosaxen.html] to return the urls by using regular expressions to find them.

  • Light Streak Help for a newbie

    What I want:  I have video of a guy jumping, I want streaks of light to track with him and explode into particles upon impact
    What I did: I used the brush tool, Light Streak style, keyframed the jitter to explode the particles
    What I can't figure out:
    1) I would like the Light Streaks to be a little more precise in following his body, it's close, but I just can't figure out how to hone in on a few keyframes or what key frames I'm even looking for (ala rotoscoping)
    2)I want the streaks to be a bit shorter, so I keyframed the First/Last point offset, but that seemed to make the tail of the streak a bit blunt (and I couldn't adjust width over stroke even further)
    Am I going about this the wrong way? Is there a better way to rotoscope streaks of light, flames,or smeared paint?

    Sorry to butt in. I happen to find myself on this forum for the first time in years, and this may not be relevant, but no one is stepping up either.
    IN the olden days, I would have approached this problem differently, maybe this will help. I'd be building the light streaks as carefully as possible but not worrying about some fo the details quite yet. I'd render them as individual movies with alpha and bring them all back into the project.
    Then I'd start manipulating them individually. For instance, if the streaks are too long, you can clip off the ends with masks. You can mask them off so they appear to pass behind forefground objects. You can add more sparkly thingies to the streaks by creating the on another layer that uses the same tracking information you have already created. You can add individual impact explosions as separate layers (these could all be the same pre-rendered movie at different scales, speeds and with tints or colors).
    I usually approach complex effects projects by trying to figure out what I know how to do and what I can fake. Applying a large number of unique variables to a long inventory of effects on a single layer is often a lot of trouble and, when you change one little thing, the changes usually ripple through the project in unexpectecd ways. So I break them out into things I know how to do, like masking and applying individual effects to separate layers, and then blending them all together as prerendered movies in a far less complicated project.
    Hope you get better suggestions soon.

  • Some Help for a newbie...

    Hi,
    I am new to java and I am developing a login module and when i enter the login name and password and clicks on ok button i want it to be displayed as "welcome" followed by login name.
    So i wana ask how to pass the string to other code.plz help me out.
    Code 1:
    import java.awt.*;
    import java.awt.event.*;
    class Login implements ActionListener
         Frame f;
         Label l1,l2;
         TextField tf1,tf2;
         Button b1,b2;
         public Login()
         f=new Frame("Login window");
         l1=new Label("LOGIN");
         l2=new Label("PASSWORD");
         tf1=new TextField(20);
         tf2=new TextField(20);
         b1=new Button("OK");
         b2=new Button("RESET");
         tf2.setEchoChar('*');
         f.setLayout(new FlowLayout());
         f.add(l1);
         f.add(tf1);
         f.add(l2);
         f.add(tf2);
         f.add(b1);
         f.add(b2);
         f.setSize(500,100);
         f.setVisible(true);
         b1.addActionListener(this);
         b2.addActionListener(this);
    public void actionPerformed(ActionEvent ae)
         if(ae.getSource()==b1)
              String s=tf1.getText();
              System.out.println("Login = "+s);
              Registered x=new Registered();
         else if(ae.getSource()==b2)
              tf1.setText("");
              tf2.setText("");
    public static void main(String args[])
         Login x=new Login();
    Code 2:
    import java.awt.*;
    class Registered
         Registered()
         Frame f;
         f=new Frame("REGISTERED");
    //     s=tf1.getText();
         public static void main(String args[])
              Registered x=new Registered();
         System.out.println("WELCOME "+s);
    }

    Hi,
    ok what you can do is make the Registered() constructor be
    Registered(String s) {
    this way when you call Registered from the Login() class you can use
    Registered x = new Registered(tf1.getText());
    so that the string is sent to the Registered class.
    in the Registered class you can now use the constructor variable "s" for the name so the output would be
    System.out.println("WELCOME "+s);
    That would fix your problem. Although your Registered class could be improved. I suggest you get rid of the main() method in Registered() it isn't needed as the Registered object is created in Login.
    i would make it:
    import java.awt.*;
    class Registered
        Registered(String s) {
               Frame f=new Frame("REGISTERED");
               Label l1=new Label("Welcome "+ s);
               f.add(l1);
               f.setSize(100,100);
               f.setVisible(true);
    I hope all that helps
    Dex

  • Editing Help for a newbie.....Please be gentle..

    I am new to Photoshop CS3, in fact, new to photoshop entirely. I have been using MS Digital Image Pro and up until now it has worked for me.
    Here is my problem. I take a lot of pictures of coins. Sometimes I have to tilt the coin slightly to get a good rendition of the color. So at time the image is slightly oval.
    I can not figure out how to use a tool to outline the coin, cut it (or copy) and paste to another project. The part that I can't figure out is adjusting the circle marquee tool to the perimeter of the coin.
    Thank you for any help.

    OK, then...so my suggestion about scanning the coins is so worthless to you that it's not even worth commenting about?
    If so, so be it. I don't necessarily live and die by having my suggestions validated. Acknowledgment is kind of nice to see, though.
    If you insist on your current workflow, maybe you'd like to know this little trick:
    As you click-and-drag out an elliptical marquee, you're going to try to be pretty close to properly surrounding your coin, right? Well, before you let up on your mouse button to commit to the elliptical "marching ants" selection area, press and hold your space bar. This will allow you to drag your current marquee around the document window. Move it so it's closer to accurately surrounding your coin, then let up on the space barKEEPING YOUR MOUSE BUTTON DEPRESSEDand you can continue to resize the marquee. If you get close, but not exact (maybe your hand gets tired; I know mine does occasionally when doing this), go ahead and commit to the selection. Then you can use the Transform Selection function to fine tune it.
    Now, having said that, and knowing that you've remarked that you'll be doing a lot of this type of photography, it would seem to me that your efforts would be better served by figuring out a way to properly shoot the coins so that the circular distortion you have to correct for is eliminated. Since you say the reason you have to tilt the coins is to get a better capture of the color, my guess is that you need to focus your efforts on a better lighting scheme. Get the light correct, and you'll be able to shoot the coins straight-on, eliminating the circular distortion, and a whole lot of repetitive, finicky work in Photoshop.
    Invest the time, effort and experimentation up front, for dividends that will pay off later with every coin image you do.

  • Upgrade help for a newbie..please (PSE 3.0 to 7.0)

    I have just bought a new computer & am in the process of transferring everything over.  I am now using Vista.
    I have been using PSE 3.0 on my old computer, & would like to now upgrade to the newest edition of PSE.  I only used PSE for editing & not photo storage/cataloging.  I still have discs & serial numbers for both PSE 3 & Premier elements(which I never used).  At present I have no photoshop programs (full or trial) loaded on my computer,.
    What is the easiest way to get PSE 7.0?  Do I have to install PSE3.0 to have an upgrade? Will it work on Vista?  Also, if I download the upgrade rather than have the box sent out, what am I missing out on.
    I'm tempted to go & just buy the full version from a local retailer because It sounds easier, unless someone can tell me otherwise..
    Help/advice would be much appreciated.
    Many thanks.

    Buy the upgrade. Install PSE7. That's it.
    Note: the upgrade, and the full version, are not different in any way except price.

Maybe you are looking for

  • Paint with Symbols? You can do it!

    Someone help us! I know someone here has a trick for doing this. I love to make my own brushes, but it would be so cool to make one from a symbol, do some painting and change the brush tip art after the strokes have been laid down. Anyone have any tr

  • UCCX 8.0 CAD: Can you disable auto update? Error: "unable to download file" Could not open request.

    I have a UCCX 8.0 (2) Installed. Users here have limited access via proxy. Now everytime i try to run the CAD or CSD, i get the error: "unable to download file" Could not open request. It seems to want to install or check for an update. The work arou

  • Javax.naming.LinkException  JNDI error Help please

    Hello All, I am trying my first bean on Weblogic 7 and can't seem to get the deployment descriptor correct. The home interface is, ObjectIDLocalHome and the full class name is com.oga.gserve.biz.oid.ObjectIDLocalHome. I am using the fully qualified c

  • Is it possible to make a cell change colour of a period of time with rules?

    Is it possible to make a cell change colour of a period of time? for example Date Company Pick Up Destination Total Paid Sat, 5 Apr 2014 COMPANY NAME PICK UP POINT THE DESTINATION £100.00 FALSE Is it possible for B7 to change colour if 2 weeks have p

  • Error when trying to access travel form

    Hello, when im trying to access the travel form from pr05 or from the ESS i get the error "Error while initiating travel form". No further errors are given. Any ideas whats wrong? regards, Markus