Whats wrong, why doesnt the thread start?

Below is my code for the part of my program, which creates a thread for every client that connects to a server in an instant messenger program. What the thread does it constantly recieves any data sent to the server, so that it therefore displays it on its own area of the screen. For some reason...this thread does not want to start. Any help would be incredibly appreciated. So heres the code:
class SocketClient extends JFrame implements Runnable {
     Socket socket = null;
   PrintWriter out = null;
   BufferedReader in = null;
          String text = null;
          Thread getdata;
   SocketClient(){
     public void listenSocket() {
     if ( connected==("2") ) {
//Create socket connection
     try{
       socket = new Socket("0.0.0.0", 4444);
                    System.out.println("Connected to self");
       out = new PrintWriter(socket.getOutputStream(), true);
       in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
     } catch (UnknownHostException e) {
       System.out.println("Unknown host: host your connecting to");
       System.exit(1);
     } catch  (IOException e) {
       System.out.println("No I/O");
       System.exit(1);
               connected = "1";
     else {
          try{
                socket = new Socket("0.0.0.0", 4444);
       out = new PrintWriter(socket.getOutputStream(), true);
       in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
     } catch (UnknownHostException e) {
       System.out.println("Unknown host: host your connecting to");
       System.exit(1);
     } catch  (IOException e) {
       System.out.println("No I/O");
       System.exit(1);
     if (thisclient==(1))
               System.out.println("in thisserver");
               Thread getdata = new Thread();
                         getdata.start();
                         thisclient = 2;
     senddata();
public void senddata() {
     //Send data over socket
     System.out.println("in send data method");
     friendtypingLabel.setText("in send data");
          String text = messageArea.getText();
          out.println(text);
       messageArea.setText(new String(""));
//Receive text from server
public void run()
          if(getdata == Thread.currentThread() )
               System.out.println("running getdata thread");  // if the thread was running this would be written to system but it isnt
               friendtypingLabel.setText("running get data");
               getdatamethod();
public void getdatamethod() {
     //Send data over socket
//Receive text from server
while(true) {
       try{
       String line = in.readLine();
          messlistArea.append("Message Client:" + line + "\n");
       } catch (IOException e){
      System.out.println("Read failed");
             System.exit(1);
          try { Thread.sleep(2000); }
               catch(InterruptedException e) {}
}

k...well ive made it so that the client can see what they have just sent....but i cant seem to make is so that the can see wot the server and wot other clients have sent...here is some update code:
class SocketClient extends JFrame implements Runnable {
     Socket socket = null;
   PrintWriter out = null;
   BufferedReader in = null;
          String text = null;
   SocketClient(){
     public void listenSocket() {
     if ( connected==("2") ) {
//Create socket connection
     try{
       socket = new Socket("0.0.0.0", 4444);
                    System.out.println("Connected to self");
       out = new PrintWriter(socket.getOutputStream(), true);
       in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
     } catch (UnknownHostException e) {
       System.out.println("Unknown host: host your connecting to");
       System.exit(1);
     } catch  (IOException e) {
       System.out.println("No I/O");
       System.exit(1);
               connected = "1";
     else {
          try{
                socket = new Socket("0.0.0.0", 4444);
       out = new PrintWriter(socket.getOutputStream(), true);
       in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
     } catch (UnknownHostException e) {
       System.out.println("Unknown host: host your connecting to");
       System.exit(1);
     } catch  (IOException e) {
       System.out.println("No I/O");
       System.exit(1);
     if (thisclient==(1))
               System.out.println("in thisserver");
               getdata = new Thread(this);
                                                                                                                                            // if this is the client, then start the getdata
                         getdata.start();                                                                           // thread
                         thisclient = 2;
                         getdata.equals(Thread.currentThread());
     senddata();
public void senddata() {
     //Send data over socket
     System.out.println("in send data method");
     friendtypingLabel.setText("in send data");
          String text = messageArea.getText();
          out.println(text);
       messageArea.setText(new String(""));
//Receive text from server
public void run()                                                   // runs the thread getdata
System.out.println("Thread is " + Thread.currentThread());
          if(getdata.equals(Thread.currentThread()) )
               getdatamethod();
public void getdatamethod() {                      // method for the getdata thread
     //Send data over socket
//Receive text from server
while(true) {
System.out.println("Run getdata");
       try{
                 String line = in.readLine();
                    if (line != null) {
          messlistArea.append("Message Client:" + line + "\n");
                         }catch (IOException e){
                          System.out.println("Read failed");
                  System.exit(1);
          try { Thread.sleep(2000); }
               catch(InterruptedException e) {}
}

Similar Messages

  • Why are the threads start and terminate randomly?

    Hi there,
    I got the program below. I am wondering why are the threads start and terminate randomly? Everytime, I run the program, it produces different results.
    I know that these four threads have got same normal priority (should be 5), and under windows there is something called timeslice. Then these four threads rotate using this timeslice. How do we know what exactly the timeslice is in seconds? If the timeslice is fix, then why the results are ramdom?
    Thanks in advance!
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package mythreadone;
    * @author Administrator
    public class MyThreadOne implements Runnable {
    String tName;
    Thread t;
    MyThreadOne(String threadName) {
    tName = threadName;
    t = new Thread(this, tName);
    t.start();
    public void run() {
    try {
    System.out.println("Thread: " + tName);
    Thread.sleep(2000);
    } catch (InterruptedException e) {
    System.out.println("Exception: Thread "
    + tName + " interrupted");
    System.out.println("Terminating thread: " + tName);
    public static void main(String args[]) {
    // Why are the threads start and terminate randomly?
    new MyThreadOne("1");
    new MyThreadOne("2");
    new MyThreadOne("3");
    new MyThreadOne("4");
    try {
    Thread.sleep(10000);
    // Thread.sleep(2000);
    } catch (InterruptedException e) {
    System.out.println(
    "Exception: Thread main interrupted.");
    System.out.println(
    "Terminating thread: main thread.");
    1. Firstly, I set in the main function:
    Thread.sleep(10000);
    and I run the program it gives:
    Thread: 1
    Thread: 4
    Thread: 2
    Thread: 3
    Terminating thread: 1
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    Run it again, it gives:
    Thread: 2
    Thread: 4
    Thread: 3
    Thread: 1
    Terminating thread: 2
    Terminating thread: 1
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    And my question was why it outputs like this? It suppose to be:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 1
    Terminating thread: 2
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    Why these four threads start and finish randomly each time I run the program? I use Windows, suppose there is a timeslice (i.e. 1 second), these threads have the same priority. Then the threads should start and finish in turn one by one. Am I right?
    2. My second question is:
    When I change the codes in the 'main' function into:
    Thread.sleep(10000); -> Thread.sleep(2000);
    it gives me the results like:
    Thread: 1
    Thread: 4
    Thread: 3
    Thread: 2
    Terminating thread: main thread.
    Terminating thread: 1
    Terminating thread: 4
    Terminating thread: 3
    Terminating thread: 2
    BUILD SUCCESSFUL (total time: 2 seconds)
    Run it again:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 3
    Terminating thread: main thread.
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    I tried several times. The main thread always terminates before or after the first child thread finished.
    My question is why it doesn't output something like:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: main thread.
    Terminating thread: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    or
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: 1
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 2 seconds)

    user13476736 wrote:
    Yes, my machine has multi-core. Then you mean that if I got a one core machine the result should always be:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 1
    Terminating thread: 2
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    ???No.
    >
    How to explain my second quesiton then? Why the main thread always terminates before some of the child threads end? Thanks a lot.

  • Why doesnt the smart filter mask move with the smart object?

    OMG Why doesnt the smart filter mask move with the smart object?  Yikes Way PITA

    If you look at the other tread about transform Again and smart Object layers you will find I found there seems to be two flavors of Transform and some bazar behaviors when it come to smart object layers. http://forums.adobe.com/message/4611500#4611500
    However for this problem here I think I can not show you how to do it.
    First target the smart filters Mask.  In fact so you can see what is happening Alt+Click on it so Photoshop displays the mask rather then the the composit image.  Then  use Ctrl+T free transform then just for a test hold down the Ctrl and the Alt keys and drag in a cornor to constrain and srink the Mask thee release the keys and press enter to commit the transform.
    Next target the smart object layer then use the short cut Ctrl+Shift+T (Transform Again) on a PC the smart object layer will be transformed to match the filter mask transform.

  • Why doesnt the netflix app have a continuous playing mode? I shouldnt have to select the next episode every 24 minutes.

    Why doesnt the netflix app have a continuous playing mode? I shouldnt have to select the next episode every 24 minutes. Even the cheap PS3 Netflix app supports this. 

    Compared to what?
    Does Netflix behave differently on other devices?
    Anyhow send feedback to:
    http://www.apple.com/feedback/appletv.html

  • Why doesnt the sound play when i mirror my laptop to my apple tv play?

    why doesnt the sound play off my speakers when i mirror my laptop to my apple tv?

    Answers can only be as helpful as the details provided.  And none were given here.  It is likely an issue with the device settings, and or a conflict with the type of audio encoding used in the video and the device(s) [tv, stero, amp, etc.] actually playing the audio.

  • HT1725 Why does the download start again for the start. I only hve access to a 3G wifi connection so one tv episode had cost me about $10 I'm download costs because of several interruptions.

    Why does the download start again for the start. I only hve access to a 3G wifi connection so one tv episode had cost me about $10 I'm download costs because of several interruptions. Is there a way to change that?

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • Why is the ``A`` starting to look like the Masonic Temple logo?

    Why
    is
    the
    ``A``
    starting
    to
    look
    like
    the
    Masonic
    Temple
    logo?

    Why are you posting in the Classic forum, when no Classic operating system runs on iPhones or can sync with them?  Is this a problem on your iPhone?
    Or are you talking on a computer?    Is this a phone that you have added some strange App on?
    To post in the proper forum, read this tip:
    https://discussions.apple.com/docs/DOC-2463
    And please don't use one word a line.  It makes your post really hard to read.

  • Why doesnt the youtube and imessege work on my ipad

    why doesnt the youtube and imessege work on my ipad

    For iMessages there is some troubleshooting on this page : http://support.apple.com/kb/TS2755
    Has the YouTube app previously worked on the iPad, and have you ever synced the iPad with your computer ? This page for YourTube (which refers to a "Cannot connect to YouTube" error message) says :
    To use certain services, iTunes must download and install an authentication token on the device. Because iPad and iPod touch do not require an active Internet connection to activate, these tokens may not be downloaded and installed during initial setup.
    You can resolve this issue by verifying that iTunes has an active Internet connection. Use the following steps:
    Open iTunes on your Mac or PC.
    Verify that your Mac or PC has an active Internet connection by accessing the iTunes Store in iTunes.
    Connect your iPad or iPod touch to your Mac or PC.
    After the sync completes, verify you can access YouTube.

  • Why doesnt the DVD version of iworks work, after uploading (and then deleting) the trial version?

    why doesnt the DVD version of iworks work, after uploading (and then deleting) the trial version?

    Check out this discussion in the iWork forum. Yvan's AppleScript (about 6 messages down) will solve your problem.

  • Why doesnt the Canada music store....

    why doesnt the Canadian music store have movies and TV shows and is there some way to make my itunes card work for the US store
    thanx

    You will have to address this issue with the Canadian copyright holders for this content as to when they will make it available to Apple for download, As to using the US store, you will have to have a US credit card with an attached US billing address to use the US store. This is again due to restrictions placed on Apple by the copyright holders who do not care for cross-border sales.

  • HT4818 why doesnt the new macbook pro come with the windows installation disc?

    why doesnt the new macbook pro come with the windows installation disc?

    Because it is a Microsoft product. it must be purchased separately.

  • HT4623 why doesnt the ipad2 have siri app if when you do the download it said you will have it

    why doesnt the ipad2 have the app siri when you do the update

    The iPad 2 cannot run Siri. It lacks a piece of hardware to make the software work. If the 2 could have handled Siri, it'd have gotten it a year ago.
    And if you read the footnotes on the iOS7 release, you'll see that it clearly states that Siri is not on the 2.

  • Why doesnt the Blackberry work?

    100's if not 1000's of people are having problems with there Black Berry phones.
    Youll find search results such as Nuked berry, brick berry or dumb phone.
    Blackberry technical support, had difficulty in handling an enquiry attempting to pass of the enquiry/complaint to the carrier who are not responsible for the incompetance of Blackberry, who call there faulty devices mobile/cell phones.
    There simply not up to the standard of the rest of the world.
    Why doesnt my phone work?
    BB(Blackberry)'s Desktop Software, is not help, being unable to connect with my device, even though it detects it & erases files, & attempts to connect with the device, even though my computer immediately detects my device as soon as I plug it into the USB port.

    Hi and Welcome to the Community!
    ChaserX wrote:
    100's if not 1000's of people are having problems with there Black Berry phones.
    Youll find search results such as Nuked berry, brick berry or dumb phone.
    Blackberry technical support, had difficulty in handling an enquiry attempting to pass of the enquiry/complaint to the carrier who are not responsible for the incompetance of Blackberry, who call there faulty devices mobile/cell phones.
    There simply not up to the standard of the rest of the world.
    So thousands of problems, out of millions of users, dooms the entire brand? Seems like of bit of a stretch to me. Also irrelevant...only your specific issues matter, not the rest of the world.
    ChaserX wrote:
    Why doesnt my phone work?
    BB(Blackberry)'s Desktop Software, is not help, being unable to connect with my device, even though it detects it & erases files, & attempts to connect with the device, even though my computer immediately detects my device as soon as I plug it into the USB port.
    Your report is a little difficult to clearly understand...hence difficult to provide you with useful guidance. So, the simplest thing I can recommend is to, on a PC (you cannot do this on MAC):
    1) Make sure you have a current and complete backup of your BB...you can find complete instructions via the link in my auto-sig below.
    2) Uninstall, from your PC, any BB OS packages
    3) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/software/desktop.html
    4) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    It is sorted first by carrier -- so if all you want are the OS levels your carrier supports, your search will be quick. However, some carriers are much slower than others to release updates. To truly seek out the most up-to-date OS package for your BB, you must dig through and find all carriers that support your specific model BB, and then compare the OS levels that they support.
    5) Delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    6a) For changing your installed BB OS level (upgrade or downgrade), you can launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC.
    6b) Or, for reloading your currently installed BB OS level as well as for changing it, bypass the Desktop Software and use LOADER.EXE directly, by proceeding to step 2 in this process:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Note that while written for "reload" and the Storm, it can be used to upgrade, downgrade, or reload any BB device model -- it all depends on the OS package you download and install to your PC.
    If, during the processes of 6a or 6b, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    You may also want to investigate the use of BBSAK (bbsak.org) to perform the wipe it is capable of.
    You may also want to try the "Bare Bones OS Reload Procedure" to attempt to narrow down the precise causal item:
    Load your OS "bare bones"...if anything is optional, do not install it.
    If the behavior presents immediately, then try a different OS with step 1
    If the behavior does not immediately present, then run for as long as it takes for you to be sure that the behavior will not present.
    Add one thing -- no matter how tempting, just one.
    If the behavior does not present immediately, then again run for long enough to be sure it will not have the same problem
    Repeat steps 4 and 5 until all things are loaded or the behavior presents
    When the behavior presents, you know the culprit...the last thing you loaded.
    If the behavior does not re-present, then you know that either step 1 or 2 cured it.
    If the behavior presents no matter what, then you likely have a hardware level issue for which no amount of OS or software can cure.
    You may also need the use of these tricks:
    KB10144 How to force the detection of the BlackBerry smartphone using Application Loader
    KB27956 How to recover a BlackBerry smartphone from any state
    http://crackberry.com/blackberry-101-lecture-12-how-reload-operating-system-nuked-blackberry
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Why did the thread get locked or deleted?

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    Occasionally you may see a thread get locked or deleted, or the possibility of a user having been banned. This tip is a viewpoint of an end user of how the Terms of Use apply to deletions, locks, or bans. Moderators may at their discretion choose these actions as the Terms of Use allow them to, even when none of these points below matter.
    When you signed up on this board, a Terms of Use page was agreed to in order for you to enter. That Terms of Use page is also on the link "Help & Terms of Use" on the right hand side. Posts themselves may get deleted that weren't the source of the thread being locked or deleted. So if you didn't disobey the Terms of use, someone else might have.
    Do not take either as a sign of censorship, a sign of personal chastisement, or anything negative per say. This is after all a community open to the public.
    When one of the terms of use is violated, it is either because it does not offer constructive points of view for fixing a technical issue from end user to end user, or it is overly digressive from doing such actions. Terms of use suggest to avoid:
    1. Prognosticating.
    2. Guessing Apple's policy.
    3. Offer advice on something which may be against copyright laws.
    4. Offer advice on something which would violate a license agreement.
    5. Posting in a thread with "me toos". Try to solve the problem at hand. It makes it very hard for those of us trying to help the original poster when additional people chime in, saying they too have the same problem, or have a problem almost identical. Those trying to help
    the original poster, may not know if the solution applies to all the people having the problem, or just some. It ends up requiring people coming to help to directly address a person to avoid confusing who should follow various advice.
    A Post New Topic is available at all Forum levels, but at the Category level of Discussions. For more on this discussion, see the tip here:
    http://discussions.apple.com/ann.jspa?annID=650
    6. Other things which may be illegal in the State of California or in the United States of America
    should not be suggested or inferred by what you post.
    7. Rants or complaints about people and companies.
    They are unhelpful, and really don't solve technical issues.
    Approach complaints with tact when posting in a public forum that is moderated such as this one.
    It is one thing to say, I hate this feature being missing, is there any way to get this feature added, or are there any ways of getting it from another source?
    It is another thing to blame Apple for a feature that is missing, and drop the ball at that waiting for a response. These type of posts are more likely to be frowned upon.
    Complaining of a service not rendered is also often frowned upon. There are points of contact later in this tip to address such service issues. This is a forum for addressing technical inquiries about how things work or if things can be made to work on your system.
    8. Polls asking for a feature to be added/removed are generally frowned upon, as well as polls about various apparent defects and their propensity. You are only addressing less than 1% of the Apple using population here.
    Such polls would not be very scientific even if they are carried out for long periods of time. Long threads may appear to act as polls, and may violate terms of use. If you see such a thread and wonder why it hasn't been locked or deleted, you are welcome to ask that in Discussions Feedback, or click on "Report This Post" at the bottom right corner if available.
    As the Terms of Use state, in the end essentially it is up to the moderator to decide if a thread is worthy being deleted or locked. Don't take it personally if it is. Also Level 2 through Level 5 users, while we can ask the moderators look at a thread, we are not Apple Employees. You may also ask a moderator look at a thread or an individual on the Discussion Feedback forum or by clicking Report this post at the bottom right hand corner of a specific post.
    If the purpose of your thread is to provide feedback to Apple for a product, see these pages:
    http://www.apple.com/contact/
    http://www.apple.com/feedback/
    http://www.apple.com/contact/feedback.html
    If you have isolated a bug with a procedure worthy of a software developer, sign up for a free developer account on http://developer.apple.com/ and report the bug here:
    http://bugreporter.apple.com/
    As this is a user to user forum answers may not come right away. Have patience, and usually someone eventually can come up with an answer. Some forums may not fit the subject line of your topic, and you are welcome to ask if you are unsure where to post a topic.
    This is the 2nd version of this tip. It was submitted on September 28, 2010 by a brody.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    Occasionally you may see a thread get locked or deleted, or the possibility of a user having been banned. This tip is a viewpoint of an end user of how the Terms of Use apply to deletions, locks, or bans. Moderators may at their discretion choose these actions as the Terms of Use allow them to, even when none of these points below matter.
    When you signed up on this board, a Terms of Use page was agreed to in order for you to enter. That Terms of Use page is also on the link "Help & Terms of Use" on the right hand side. Posts themselves may get deleted that weren't the source of the thread being locked or deleted. So if you didn't disobey the Terms of use, someone else might have.
    Do not take either as a sign of censorship, a sign of personal chastisement, or anything negative per say. This is after all a community open to the public.
    When one of the terms of use is violated, it is either because it does not offer constructive points of view for fixing a technical issue from end user to end user, or it is overly digressive from doing such actions. Terms of use suggest to avoid:
    1. Prognosticating.
    2. Guessing Apple's policy.
    3. Offer advice on something which may be against copyright laws.
    4. Offer advice on something which would violate a license agreement.
    5. Posting in a thread with "me toos". Try to solve the problem at hand. It makes it very hard for those of us trying to help the original poster when additional people chime in, saying they too have the same problem, or have a problem almost identical. Those trying to help
    the original poster, may not know if the solution applies to all the people having the problem, or just some. It ends up requiring people coming to help to directly address a person to avoid confusing who should follow various advice.
    A Post New Topic is available at all Forum levels, but at the Category level of Discussions. For more on this discussion, see the tip here:
    http://discussions.apple.com/ann.jspa?annID=650
    6. Other things which may be illegal in the State of California or in the United States of America
    should not be suggested or inferred by what you post.
    7. Rants or complaints about people and companies.
    They are unhelpful, and really don't solve technical issues.
    Approach complaints with tact when posting in a public forum that is moderated such as this one.
    It is one thing to say, I hate this feature being missing, is there any way to get this feature added, or are there any ways of getting it from another source?
    It is another thing to blame Apple for a feature that is missing, and drop the ball at that waiting for a response. These type of posts are more likely to be frowned upon.
    Complaining of a service not rendered is also often frowned upon. There are points of contact later in this tip to address such service issues. This is a forum for addressing technical inquiries about how things work or if things can be made to work on your system.
    8. Polls asking for a feature to be added/removed are generally frowned upon, as well as polls about various apparent defects and their propensity. You are only addressing less than 1% of the Apple using population here.
    Such polls would not be very scientific even if they are carried out for long periods of time. Long threads may appear to act as polls, and may violate terms of use. If you see such a thread and wonder why it hasn't been locked or deleted, you are welcome to ask that in Discussions Feedback, or click on "Report This Post" at the bottom right corner if available.
    As the Terms of Use state, in the end essentially it is up to the moderator to decide if a thread is worthy being deleted or locked. Don't take it personally if it is. Also Level 2 through Level 5 users, while we can ask the moderators look at a thread, we are not Apple Employees. You may also ask a moderator look at a thread or an individual on the Discussion Feedback forum or by clicking Report this post at the bottom right hand corner of a specific post.
    If the purpose of your thread is to provide feedback to Apple for a product, see these pages:
    http://www.apple.com/contact/
    http://www.apple.com/feedback/
    http://www.apple.com/contact/feedback.html
    If you have isolated a bug with a procedure worthy of a software developer, sign up for a free developer account on http://developer.apple.com/ and report the bug here:
    http://bugreporter.apple.com/
    As this is a user to user forum answers may not come right away. Have patience, and usually someone eventually can come up with an answer. Some forums may not fit the subject line of your topic, and you are welcome to ask if you are unsure where to post a topic.
    This is the 2nd version of this tip. It was submitted on September 28, 2010 by a brody.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

  • What will happen to the thread ?

    Thread t = new Thread(); t.start(); t = null; now what will happen to the created thread?

    Except of course that Thread's run() method is either abstract or does nothing, so that will either not compile, or the thread will end as soon as it starts, at which point I believe the VM will release it and it will become eligible for GC.
    If you had a run() method that actually did something, then it would keep running until it was done, even with your t reference being null, as described in reply 1.

Maybe you are looking for

  • Update will not install (2014.3)

    When I attempt to update Muse, the result is: Update Failed. Installation completed though some options components failed to install correctly (6). More information leads to: -------------------------------------- Summary ----------------------------

  • Deployment Fails For EPPM 8.3

    Dear Experts, I am trying to deploy the EPPM 8.3,p6.ear file on the managed server on which I want to deploy the EPPM application but it Fails with the following error : ####<Dec 12, 2013 3:53:33 PM IST> <Warning> <HTTP> <ecmintapp.oracle.com> <EPPM_

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database? For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat. How do I restart apex? How do I get it to restart auto

  • ACCOUNT DOCUMENT NOT GENARATED

    WHILE CREATING BILLING DOCUMENT ACCOUNT DOCUMENT NOT GENARATED

  • Task List - Create New Form for Subtasks

    Hi, Is this possible to create a new form for SubTasks in SharePoint 2013 task List probably using Infopath. Out of Box, Sharepoint opens datasheet view to add the subtask for a main task. just want to know whether it is possible. Any help will be hi