Problem with front row, please help!

I got a year old MBP 15" which I updated to leopard, and it works generally fine, except for the fact that when using front row and leaving it playing music for about 5 minutes idle, it freezes, goes to blank screen, but still plays the playlist it was set on, but when I use the remote control, or press keys, it keeps frozen, the only way to quit is to force power off.
Please help me, as I really like Front Row and my MBP is my hub for playing music in reunions.
Thanks in advance

I have (hopefully) found a solution to my part of this problem. I was getting the ClassCastExceptions on any page with a <jbo:row> tag after doing a failed DML action. I have tested this with the delete event. (btw, I am using jdev9.0.3.3 w/ BC4J/JSP) Before what I was doing was this:
<% try { %>
<jbo:Row id="delrow" datasource="ds" rowkeyparam="jboRowKey" action="Delete" />
<% } catch (JboException jboEx) { %>
do something
<% } catch (Exception ex) { %>
uh-oh, this is bad
<% } %>
If I removed the try/catch block everything worked fine. Unfortunatlely, I need to try/catch block here. To work around the problem I changed the code to this:
<% Row rowDelete = ds.getRowFromKey(params.getParameter("jboRowKey")); %>
<% try { %>
<%
rowDelete.remove();
%>
<% } catch (JboException jboEx) { %>
do something
<% } catch (Exception ex) { %>
uh-oh, this is bad
<% } %>
The second bit of code does the same thing (but it doesn't use a bean like I think <jbo:Row> does) and it doesn't cause the ClassCastError on subsequent errors.
I really hope this helps someone else because it took me forever to get a workaround!
~Rob Lundeen

Similar Messages

  • PROBLEM WITH NEW ROW  --- PLEASE HELP

    Hello,
    I've had it with the framework. It's been 20 hours and counting that I am trying to insert/validate a new record.
    Things just don't work as advertised.
    Here's the situation:
    I have an entity object with various validation rules in the validate() method.
    Then I have a simple JSP page to insert new records.
    At submit of button, I follow the framework's default
    create new row and fill it up, with the difference
    that i need to validate the row as soon as I fill it up
    with data from the http request:
    <jbo:OnEvent name="Create">
    <jbo:Row id="newrow" datasource="ds" action="CreateInRange" >
    <% try { %>
    <jbo:SetAttribute dataitem="*" />
    <%
    newrow.validate(); //******* NOTICE HERE THAT I VALIDATE
    } catch (JboException ex) {
    newrow.remove();
    throw ex;
    } %>
    </jbo:Row>
    </jbo:OnEvent>
    Unexpected behavior 1: If the validation fails,
    newrow DOES NOT GET REMOVED!!!! I know this
    since when I view data thru a data table component,
    the row is there WITH THE ERROR INFORMATION set!!.
    If I do a commit transaction, then the erroneous information ENDS UP IN THE DATABASE!!!!!
    Unexpected behavior 2: If I do a rollback, every
    call to subsequent pages results in a jsp error:
    java.lang.ClassCastException: oracle.jbo.html.jsp.datatags.OnEventTag
    PLEASE HELP.
    Chris Lambrou

    I have (hopefully) found a solution to my part of this problem. I was getting the ClassCastExceptions on any page with a <jbo:row> tag after doing a failed DML action. I have tested this with the delete event. (btw, I am using jdev9.0.3.3 w/ BC4J/JSP) Before what I was doing was this:
    <% try { %>
    <jbo:Row id="delrow" datasource="ds" rowkeyparam="jboRowKey" action="Delete" />
    <% } catch (JboException jboEx) { %>
    do something
    <% } catch (Exception ex) { %>
    uh-oh, this is bad
    <% } %>
    If I removed the try/catch block everything worked fine. Unfortunatlely, I need to try/catch block here. To work around the problem I changed the code to this:
    <% Row rowDelete = ds.getRowFromKey(params.getParameter("jboRowKey")); %>
    <% try { %>
    <%
    rowDelete.remove();
    %>
    <% } catch (JboException jboEx) { %>
    do something
    <% } catch (Exception ex) { %>
    uh-oh, this is bad
    <% } %>
    The second bit of code does the same thing (but it doesn't use a bean like I think <jbo:Row> does) and it doesn't cause the ClassCastError on subsequent errors.
    I really hope this helps someone else because it took me forever to get a workaround!
    ~Rob Lundeen

  • New iMac install problem with Front Row

    Hi I just got my imac yesterday, the desktop intel core duo with mac os x tiger. It comes with front row but when I clicked on it to open, it said I needed to install, so I followed the instructions to the letter, and when it starts to install front row, it says: "there were errors installing the software. Please try installing again." Which I did repeatedly, plus restarting. No go. Can anyone give me a tip on what I should try next? Thanks. you can email me [email protected]

    Normally to activate Front Row you press the Menu button on the Apple Remote that came with your Mac or you can use the keyboard shortcut of Command(Apple) + Escape.

  • Having problems with front row (and the opticle drive)

    I bought my macbook three days ago, and I'm already having problems. First off, I transfered music from my user profile on my old iMac G5 to the macbook via data DVD. My music collection had some purchaces from the itunes store, so I had to go through the authorization thing, and I can now play them just fine in the iTunes library, but the problem is, if I try to use the front row program to play my purchaced music, I get the message saying that I have to authorize it first. What the ****? Does anybody else have this problem? Also, like many other macbook users, I'm having problems with the opticle drive, such as getting cds to be recognized and other things of that nature.

    I noticed that this problem started after I tried to use a software to unlock my drive's region...
    I believe this is the problem. The VLC Media Player will usually play DVDs from other regions without changing the settings on your optical drive. You may need to reset your optical drive's firmware back to the original setting, make sure you have the region set for the one you'd prefer to use the most and then use VLC to play the other DVDs.
    -Doug
    P.S. After two years in the Front Row forum, I'm not sure I've ever heard of anyone playing HDDVD_TS folders with Front Row. I'm not saying it won't work, but I'm not sure it's really supported either. I do have DVD Studio Pro myself, but I'll have friends or family staying with me for nearly the next month, so my evenings and weekends will be a bit full to try making one up for testing...

  • Weirdest problem with ipod!PLEASE HELP ME!!!

    Okay, i tried to load a playlist that had about 100 songs on it. While its loading, the update just stops. My ipod starts going crazy.The apple logo keeps lighting up and then the light doesnt come on but the logo is still there. You can hear the inside of it like trying to come on but then it just keeps doing the same thing til the battery life runs out! I really need help on this! I've tried to reset but everytime I do it it just keeps doing the same thing. I dont know if i should wipe all my songs off of itunes or what but im so confused and so aggravated with it. PLEASE HELP ME! I'D REALLY APPRECIATE IT!
      Windows XP  

    Welcome to Apple Discussions!
    See if any of these help...
    iPod Only Shows An Apple Logo and Will Not Start Up
    iPod Only Shows An Apple Logo
    btabz

  • Having problems with Frontrow. Please help!

    Hi,
    i've been trying to figure this out all day today but i haven't found any solution. hopefully you Mac Geniuses can help. now, my problem isn't that my videos won't play, because they do. they all play perfectly. okay, so when i launch Frontrow, all my video files appear under their respective folders; my TV Shows appear under the TV Shows folder and my Music Videos appear under the Music Videos folder. however, for some strange reason, these files also want to appear under the Movies folder. That means they're showing up twice! -under the Movies folder and TV Shows/Music Videos. is there anyway to fix this, because it's really cluttering my Movies folder and i admit i'm a really anal neat-freak.
    Also, i have correctly labeled the video files as Movie, TV Show or Music Video under iTunes. Everything is organized well under iTunes, so i doubt it's that.
    please help!!
    Message was edited by: ec84

    It might be because with the new update, it seems as though anything stored in the MOVIES folder , shows up under movies in Front Row. I have a folder of Transformers AVI'S in my movie folder, now it shows up in the movie directory of front row

  • Two problems with Front Row

    Hello.
    I have all my music on my iMac and I am streaming it to my Mac Mini connected to my TV and stereo. What I have noticed is that the cover art on my music tracks don't show when I play any of the shared tracks or playlists, just the default picture with the two notes. Is there something I can do that will display it? I have tried to start iTunes and connect the shared library there before starting Front Row but that didn't help.
    I also have a problem with listing my pictures in Front Row. I have an external drive connected to my Mini that has all my pictures and movies. I have no trouble playing the movies (I created an alias in the Movies catalog to the Movies catalog on the external drive), but if I create an alias in the Pictures catalog to the Pictures catalog on the external drive the catalog isn't shown in Front Row. Do I have to import all the pictures into iPhoto? I don't use iPhoto at all because I always use the program that came with my Nikon camera that shows all the picture information, such as focal length, what lens I used, white balance setting, etc. (or Adobe Photoshop Elements it I want to make some changes). Is there something I can do to fix this too?
    Thanks,
    Erik Aleksander Moe

    Bernd, since your comp is still under warranty you may wish to give the online tech support a try -->HERE<--</a>. Click on the "Chat with a support agent" link.
    If you don't want to go that route, then I suggest that you call them over the phone. Hopefully, you have the AppleCare Protection Plan if your 90 day warranty ran out.
    Good Luck.
    G5 20' iMac w/iSight/Remote, 2.5GB RAM, 250GB HD Mac OS X (10.4) OS 10.4.3

  • Problem with "Package Spec" please help.

    Hello once again.
    I'm developing a master-detail form, so I'm using a "Package Spec" variable to hold the primary key value from the master form. The primary key value for the master is generated by a sequence.
    Here's the package spec:
    PACKAGE primary_keygen IS
    pkey varchar2(15); 
    END;Now the master table has the following "Before Insert" Trigger .
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    DECLARE
    primary_key_value varchar2(15);
    BEGIN
    select lpad(to_char(ref_gen.nextval), 4,'0')
    into primary_key_value from dual;
    primary_keygen.pkey:='ABC/'||primary_key_value;
    :new.Ref_Number:=primary_keygen.pkey;
    END;For the detail block. I have the following "Before Insert Trigger" to generate the primary key values.
    CREATE OR REPLACE TRIGGER DET1_NUM_GEN
    BEFORE INSERT
    ON DETAIL1
    FOR EACH ROW
    BEGIN
    if :new.M_ref_number is NULL THEN
    :new.M_ref_number:=primary_keygen.pkey;
    ENd if;
    END;Works quite fine if I have only one detail block. But if I have multiple detail blocks. Depending on the user's selection. i.e. After entering data into the master block, the user selects a detail block ('Letter type'- using stacked canvases for this purpose and radio buttons for selecting the view) and then Inserts data into it. here's what I do in the Detail block2.
    CREATE OR REPLACE TRIGGER OREF_NUM_GEN
    BEFORE INSERT
    ON DETAIL2
    FOR EACH ROW
    BEGIN
    if :new.O_ref_number is NULL THEN
    :new.O_ref_number:=pkey_gen.master_key;
    ENd if;
    END;Now the problem is that When I enter one record into detail1, works fine, but for the second time, when I try to insert another record. the master table gets a new reference number (primary key value) while the detail block gets the previous value that was used in the first record!, so that means 'pkey_gen.master_key' is holding the old value, while in my opinion it should hold the new value, I dont know whats wrong here. If I try to insert two consecutive records into the same detail table, I get an error saying "Unique Constraint voilated", becuase the variable is holding the old values.
    And lastly after it inserts the record into the database, I get a dialog box saying, "successfuly inserted 2 records into the database" and when I click ok, the Form closes by itself, any ideas on how to stop this?
    I'm really stuck here. Please help me out on this.
    Thanks.
    Note: I'm using Form6i with Database 10g.
    Message was edited by:
    fahimkhan82

    Hi,
    Maybe the best way to start is to try building a new form from scratch. For simplicity I will assume that you have one master and one detail table. Master table has a primary key and the detail table has a foreign key to the master. Based on this, with the forms you can create a database block based on your master table. Use the wizard. Again using the wizard, create a second block based on the detail table. You'll see a screen to prompt to create a relationship. Create one by selecting the master table and the right foreign key relation. Now take a close look to all triggers automatically created by the form. Also check the "Relations" object found in you master block object tree. Note that the foreight key column in the detail table has the "Copy Value From Item" property set to monitor the master block's primary key.
    This is the basic. You don't need the database triggers, except (in case you want to insert through, say, SLQPlus) the one for the master table, which will look like this:
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    BEGIN
    IF :new.ref_number IS NULL THEN
    select 'ABC/'||pad(to_char(ref_gen.nextval), 4,'0')
    into :new.ref_number
    from dual;
    END IF;
    END;
    Now you have to take care about the inserts in your form. Create PRE-INSERT trigger on the master block.
    IF :master.ref_number IS NULL THEN
    SELECT 'ABC/'||pad(to_char(ref_gen.NEXTVAL), 4,'0')
    INTO :master.ref_number
    FROM dual;
    END IF;
    Run the form and explore different situations to see how the form is keeping the data integrity.
    Compile with Shift+K (incremental). Sometimes forms blow just because not all of the trigers were compiled properly.
    Hope this helps...

  • Video card or driver problems with an N200, please help!

    I have a lenovo 3000 N200, it is really cool, runs even games quite well, including newer ones.
    But, is it normal to for the display driver program to freeze out in Warcraft 3? It always does that, when accessing the list of maps in the game and after 3-5 mins during an actual game. It sets the resolution down to 640X480 (from 1280X800) and in 16 color. I have to reset it in order to make it work. Also it does the same in Spore - though after having the driver written for Spore installed, ( which I downloaded from lenovo's site ) I haven't encountered that problem so far. Also Second Life shuts down - thankfully it does not freeze the drivers. I understand that the model I have is not meant for gaming but if it can run Warhammer 40k: Soulstorm at meduim graphic settings (on widescreen) without a lagg I can't understand why it wouldn't be able to handle warcraft 3 - that even an ATi m200 express can handle. I mean an X3100 from Intel must be far more powerful. (Said ATi card laggs with older games like Unreal Tournament)
    I have the latest driver - official - and a Win Xp pro Sp2. I always keep my system up to date - save for opsys but so far driver did not need sp3 - and virus clean.
    Please help me? 
    Solved!
    Go to Solution.

    Well, Unreal Tournament 2004 runs flawlessly on max graphics - though simple Unreal Tournament laggs like hell with all possible settings - also, as I said Dawn Of War and it's expansions run well on med graphics. The Suffering Ties That Bind runs also good on highest settings - though there is a bit of degradation compared to my tabletop pc's performance. Disciples 2 ran - of course - well, there were some texture problems with it but Heroes 5 ran quite well even on higher settings (as I mentioned it sometimes blunted down the textures but not always and it ran without a lagg). Alien Versus Predator 2 ran on max graphics, and there was no trouble, save for the aliens' special vision (that white thing that looks as if inverted colors) didn't work - aka was only a black screen - and that the crosshair of the smartgun was only a blank red/green block on the middle of the screen.Oh, and Command & Conquer: Generals Zero Hour works on highest settings without a lagg, along with Quake 3, and Jedi knight : Academy. It even runs Perfect World on high settings and only laggs in bigger towns - but that also might be because of the tremendous bandwidth usage that occurs. Even Red Alert 3 was able to run, but I would only advise that for RA fanatics, on low settings it was playable. Also, C & C: Tiberium Wars runs better than RA 3 , if you like that it is quite playable and worth a try. As you can see I have put it to it's limits to see what it can endure. Unreal Tournament 3 ran, though was gruesomely degraded and then it gave me the blue screen of death; so I quickly uninstalled that. Other than the forementioned program I had no real problems with the card, but the existing problems are a pain in the ... well we all know how bothering it can be when one is unable to play his/her favourite game (that should really run flawlessly).
     Doesn't vista eat up too much of the system resources? A friend of mine was complaining about his n200 that vista is too slow on it and it eats up too much processor/memory.
    Also, still no new on videocard front... Asked around if anyone knows, but I am guessing that maybe even Blizzard - referring to my Warcraft problem - shows more compassion to their forums and users than Lenovo, so I'll ask around there too. 

  • Serious problems with El7/8: please help!

    Hello all,
    I really hope someone can help me-I've had no luck whatsoever with the customer support team.
    I have been using El 3 very successfully for a couple of years. I recently upgraded to El 7 in order to be able to edit HD video and SD video together.  The software works fine, however if I come to move multiple clips at once along the timeline, I get the black circle with a line through, and a small white box. This means I cannot move multiple clips. For me, this makes the product unusable.
    I downloaded the trial for El8 and was please that this bug was not present. I have since ordered El 8 and installed it (a fresh install ith El 7 gone), however I have discovered that with this I cannot play any video in the monitor window! Again, this renderes the produce useless. I now have two pieces of software that are unusable, and I am receiving no help whatsoever from technical support. Please, can anyone assist?
    James

    James
    First thing to try...with Premiere Elements 8, Edit Menu/Preferences/General and uncheck "Enable GPU Playback". If that does not help, then check out the AdobeTech Note:
    http://kb2.adobe.com/cps/515/cpsid_51526.html
    Now, in the case of Premiere Elements 7, could you please go into detail about how you are "moving multiple clips along the Timeline"? Are you working on one track or mutiple tracks? How are you grouping these clips prior to the move? Where are you moving them to and from? Etc.
    ATR
    Hi there,
    Thanks for your help. The GPU settings was the first thing I tried-to no avail. Alas, no such luck either with theTechNote.
    RE: el 7, I have been filming several scenes for a short film with the drama group I work with. Due to outside circumstances I have been editing back to front (so the last scene is currently at the beginning of the timeline etc.) What I am trying to do is select the clips and shift them to the correct sequential order on the timeline. I have tried highlighting all of them and clicking group, and simply tried dragging them as one big highlighted block. The clips are on seperate tracks, but I have never had any such problems with El 3 which I have used extensively in the past.
    What is of particular interest, is that if I select sauy 6 tracks there's not a problem, it's when i select ALOT of tracks I run into difficulty.
    I have also tried updating the graphics drivers recently for my GTX 285, which seemed to solve the problem on EL 8, only for it to then go back to what it was doing?!?
    Any help would be appreciated

  • I suppose it is the problem with socket connection,Please help

    Hi,
    I'm trying to build a chat server in Java on Linux OS.I've created basically 2 classes in the client program.The first one shows the login window.When we enter the Login ID & password & click on the ok button,the data is sent to the server for verification.If the login is true,the second class is invoked,which displays the messenger window.This class again access the server
    for collecting the IDs of the online persons.But this statement which reads from the server causes an exception in the program.If we invoke the second class independently(ie not from 1st class) then there is no problem & the required data is read from the server.Can anyone please help me in getting this program right.I'm working on a p4 machine with JDK1.4.
    The Exceptions caused are given below
    java.net.SocketException: Connection reset by peer: Connection reset by peer
    at java.net.SocketInputStream.SocketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:119)
         at java.io.InputStreamReader$CharsetFiller.readBytes(InputStreanReader.java :339)
         at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:374)
         at java.io.InputStreamReader.read(InputStreamReader.java:511)
         at java.io.BufferedReader.fill(BufferedReader.java:139)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at Login.LoginData(Login.java:330)
         at Login.test(Login.java:155)
         at Login$Buttonhandler.actionPerformed(Login.java:138)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:17775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4141)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
         My program looks somewhat like this :
    1st class definition:
    public class Login extends Jframe// Login is the name of the first class;
    Socket connection;
    DataOutputStream outStream;
    BufferedReader inStream;
    Frame is set up here
    public class Buttonhandler implements ActionListener
    public void actionPerformed(ActionEvent e) {
    String comm = e.getActionCommand();
    if(comm.equals("ok")) {
    check=LoginCheck(ID,paswd);
    test();
    public void test() //checks whether the login is true
    if(check)
    new Messenger(ID);// the second class is invoked
    public boolean LoginCheck(String user,String passwd)
    //Enter the Server's IP & port below
    String destination="localhost";
    int port=1234;
    try
    connection=new Socket(destination,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    outStream=new DataOutputStream(connection.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    System.out.println("connected to "+destination+" at port "+port+".");
    BufferedReader keyboardInput=new BufferedReader(new InputStreamReader(System.in));
    String receive=new String();
    try{
    receive=inStream.readLine();
    }catch(IOException ex){ error("Error reading from server");}
    if(receive.equals("Logintrue"))
    check=true;
    else
    check=false;
    try{
    inStream.close();
    outStream.close();
    connection.close();
    }catch (IOException ex){
    error("IO error closing socket");
    return(check);
    // second class is defined below
    public class Messenger
    Socket connect;
    DataOutputStream outStr;
    BufferedReader inStr;
    public static void main(String args[])
    { Messenger mes = new Messenger(args[0]);}
    Messenger(String strg)
    CreateWindow();
    setupEvents();
    LoginData(strg);
    fram.show();
    void setupEvents()
    fram.addWindowListener(new WindowHandler());
    login.addActionListener(new MenuItemHandler());
    quit.addActionListener(new MenuItemHandler());
    button.addActionListener(new Buttonhandle());
    public void LoginData(String name)
    //Enter the Server's IP & port below
    String dest="localhost";
    int port=1234;
    int r=0;
    String str[]=new String[40];
    try
    connect=new Socket(dest,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStr = new BufferedReader(new InputStreamReader(connect.getInputStream()));
    outStr=new DataOutputStream(connect.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    String codeln=new String("\n");
    try{
    outStr.flush();
    outStr.writeBytes("!@*&!@#$%^");//code for sending logged in users
    outStr.writeBytes(codeln);
    outStr.write(13);
    outStr.flush();
    String check="qkpltx";
    String receive=new String();
    try{
    while((receive=inStr.readLine())!=null) //the statement that causes the exception
    if(receive.equals(check))
    break;
    else
         str[r]=receive;
         r++;
    }catch(IOException ex){ex.printStackTrace();error("Error reading from socket");}
    catch(NullPointerException ex){ex.printStackTrace();}
    } catch (IOException ex){ex.printStackTrace();
    error("Error reading from keyboard or socket ");
    try{
    inStr.close();
    outStr.close();
    connect.close();
    }catch (IOException ex){
    error("IO error closing socket");
    for(int l=0,k=1;l<r;l=l+2,k++)
    if(!(str[l].equals(name)))
    stud[k]=" "+str[l];
    else
    k--;
    public class Buttonhandle implements ActionListener
    public void actionPerformed(ActionEvent e) {
    //chat with the selected user;
    public class MenuItemHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
    String cmd=e.getActionCommand();
    if(cmd.equals("Disconnect"))
    //Disconnect from the server
    else if(cmd.equals("Change User"))
         //Disconnect from the server & call the login window
    else if(cmd.equals("View Connection Details"))
    //show connection details;
    public class WindowHandler extends WindowAdapter
    public void windowClosing(WindowEvent e){
    //Disconnect from server & then exit;
    System.exit(0);}
    I�ll be very thankful if anyone corrects the mistake for me.Please help.

    You're connecting to the server twice. After you've successfully logged in, pass the Socket to the Messenger class.
    public class Messenger {
        Socket connect;
        public static void main(String args[]) {
            Messenger mes = new Messenger(args[0]);
        Messenger(Socket s, String strg) {
            this.connect = s;
            CreateWindow();
            setupEvents();
            LoginData(strg);
            fram.show();
    }

  • I have a problem with my microphone, please help if you can

    Hello everyone.
    I have a problem with my microphone. After i bougth Creative's sound card "Sound blaster X-Fi Xtreme Audio" and installed it, everything was allright and my microphone was working great, but this was when I used Windows XP, when i started to use Windows 7, it suddenly was very weak and i almost didn't heard it.
    Currently, I have bouth Windows XP and Windows 7 installed, so I know the microphone is working when I am switching up between the OS, because it still works good on Windows XP.
    If you can help please tell me.
    I am using Windows 7 64 bit, I made sure the flexijack settings in the Audio controll panel are set to microphone and not line in, in the Windows 7 audio controll I have set the microphone volum to maximum and made sure it is configured properly.
    Thank you for helping.

    Originally Posted by tav2000
    Hello everyone.
    I have a problem with my microphone. After i bougth Creative's sound card "Sound blaster X-Fi Xtreme Audio" and installed it, everything was allright and my microphone was working great, but this was when I used Windows XP, when i started to use Windows 7, it suddenly was very weak and i almost didn't heard it.
    Currently, I have bouth Windows XP and Windows 7 installed, so I know the microphone is working when I am switching up between the OS, because it still works good on Windows XP.
    If you can help please tell me.
    I am using Windows 7 64 bit, I made sure the flexijack settings in the Audio controll panel are set to microphone and not line in, in the Windows 7 audio controll I have set the microphone volum to maximum and made sure it is configured properly.
    Thank you for helping.
    Hi tav,
    While waiting for other forum members to post..
    Perhaps you havent installed the latest drivers yet? (link HERE)
    Cheers!

  • Problems with Boot Camp - PLEASE HELP!

    I'm having problems with Boot Camp. Here's what's happening. I ran Boot Camp Assistant, partitioning a 32GB BOOTCAMP drive. I insert my copy of XP and start the installation. My MBP restarts and boots into the Windows Setup. I let it run through the initial actions. I press ENTER to proceed, F8 to accept the license agreement, then when I get to the part where I should be able to select the Partition 3 BOOTCAMP drive (as it says in the Apple Boot Camp Manual) there is only a Partition 1 Unknown drive. It is the only drive to choose from and its a C: drive. I can't figure out why after I run boot camp the partitioned drive doesn't appear as an option in the windows installation. Please help!!!
    Message was edited by: CarlConti08

    Boot into Leo, start Disk Utility and you should see two partitions, your Leo partition and a Fat32 partition of 32GB at the end of the drive.
    If not, boot camp didn't create it for some reason. If it is there then check it with DU and make sure its OK.
    While your in there give it a name so you can easily identify it in your windows installer.
    If there is no partition, create one using Disk Utility at the END if the drive. make sure you create it as a msdos (Fat32) partition and give it a name. The name cannot be more than 11 characters must be comprised of numbers and/or letters (no special characters).
    Verify it before exiting DU.
    Put in windows install disk, reboot - hold option key after the chime until you see the boot screen - select windows CD to begin install.
    Don't forget to install Leo windows drivers after installing windows.
    Kj

  • Problems with Front Row, listening to Music and view Photos

    My new imac is experiencing problems while in frontrow. If I am listening to music through itunes and then go to view photos at the same time the computer freezes for minutes on end before coming up with an error message about not being able to access the photos. When I finally manage to get out of front row, iphoto is opened up on my desktop. Is anyone else having problems like this?

    Yeah, I think, unfortunately thats the best solution to this. Disappointing though, this is the 2nd imac that I've had major issues with straight out of the box.

  • Messaging Problem with 3.0 Please Help

    I upgraded to 3.0 and now 3GS. Prior to this my wife was able to text me from her verizon blackberry, no issues and it came in on the iphone messaging. Now, somehow the iphone is changing it into an "email". The text appears as her [email protected] It's not a real email because it's not appearing in my home outlook server which is where the iphone pulls my emails from. This is way inconvient since the text doesn't appear till i go manually pull email. Anyone else have these issues. She didn't do anything different, just texts to my phone #? Techies please help.
    Paul in San Diego

    Hi Omid,
    As far as I am aware of you will need to have a two way trust to proceed with the integration.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

Maybe you are looking for

  • Bridge CC no compatible with the new After Effects CC 2014 ?

    Hi, I'm updating the Adobe suite (CC 2014) .but After Effects CC 2014 no longer works with the old Bridge CC (there is no update of Bridge). Since "browse presets" in After Effects when choosing a preset (dissolves etc) there is an error message: "Af

  • MBP doesn't recognize FPD2185W Gateway Monitor

    I've had the previous model of the MBP and with the VGA adapter, it worked fine with the FPD2185W Gateway monitor. Now with the newest MBP, and with its new display port requiring having to buy a new adapter, the only thing I can do is mirror the dis

  • How I reset Mac Mail to default?

    I've tried going into Library and deleting the Mail folder and com.apple.mail.plist, It's not working, all sorts of things are wrong with the Mail App, I only got this Mac a month ago... I'm using IMAP, nothing is wrong with the server, I asked my ho

  • Adobe RoboHelp 8 is released! TCS2, too

    I've been using RoboHelp since 1992 and this is huge. Not only is Adobe RoboHelp 8 released, but the entire Adobe Technical Communication Suite 2 (now with Adobe Photoshop!) The Trial for individual releases as well as the entire TCS 2 suite is ready

  • I can't see my mac on the TV's home network search

    Hi there can anyone help me to find my Mac on the TV. My TV is a new Sony and is conected wireless to my home network, it finds my PC after I had set up the media funktion in the sharing area. But it does not find my mac, is there also something to e