Alv display for the 2nd time.

Hi everybody
I have created a interactive alv report. when i am going for   first display it is giving correct result whne i go for 2nd time it is not initilizing the grids the records are displayed twice or same record is displayed. i have check BCALV_GRID_03 but i could not understand it properly so i am giving my code please help.
*& Report  ZVTEST1                                                     *
REPORT  ZVTEST1 .
class lcl_event_receiver definition deferred.
class cl_event_receiver definition deferred.
TYPE-POOLS : SLIS.
tables : ekko,ekpo,lfa1.
data : begin of itab occurs 0,
         lifnr like ekko-lifnr,
         netwr like ekpo-netwr,
         name1 like lfa1-name1,
      end of itab.
data : begin of inv_det occurs 0,
         ebeln like ekko-ebeln,
         bedat like ekko-bedat,
         lifnr like ekko-lifnr,
         netwr like ekpo-netwr,
         name1 like lfa1-name1,
       end of inv_det.
data : begin of mat_det occurs 0,
         ebeln like ekko-ebeln,
         lifnr like ekko-lifnr,
         bedat like ekko-bedat,
         matnr like ekpo-matnr,
         menge like ekpo-menge,
         netpr like ekpo-netpr,
         NETWR LIKE EKPO-NETWR,
         maktx like makt-maktx,
       end of mat_det.
DATA :TEST_GRID TYPE REF TO CL_GUI_ALV_GRID,
      TEST_CONT TYPE SCRFNAME VALUE 'TESTING_ALV',
      TEST_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
      TEST_LAYOUT TYPE LVC_S_LAYO,
      TEST_FIELDCAT TYPE LVC_T_FCAT,
      ok_code like sy-ucomm,
      event_receiver type ref to lcl_event_receiver,
      event_receiver1 type ref to cl_event_receiver,
      TEST_GRID1 TYPE REF TO CL_GUI_ALV_GRID,
      TEST_CONT1 TYPE SCRFNAME VALUE 'PARTYWISE_DETAILS',
      TEST_CONTAINER1 TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
      ls_layout TYPE lvc_s_layo,
      TEST_LAYOUT1 TYPE LVC_S_LAYO,
      TEST_FIELDCAT1 TYPE LVC_T_FCAT,
      TEST_GRID2 TYPE REF TO CL_GUI_ALV_GRID,
      TEST_CONT2 TYPE SCRFNAME VALUE 'INVOICE',
      TEST_CONTAINER2 TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
      TEST_LAYOUT2 TYPE LVC_S_LAYO,
      TEST_FIELDCAT2 TYPE LVC_T_FCAT.
select-options: s_bedat for ekko-bedat.
CALL SCREEN 100.
class LCL_EVENT_RECEIVER definition.
  public section.
      methods:
      handle_double_click
        for event double_click of cl_gui_alv_grid
            importing e_row e_column.
  private section.
endclass.
class LCL_EVENT_RECEIVER implementation.
method handle_double_click.
    data: itab1 like line of itab.
    read table itab index e_row-index into itab1.
    perform select_table_invdet using itab1
                               changing inv_det.
    call screen 200 starting at 10 5.
endmethod.
endclass.
class CL_EVENT_RECEIVER definition.
  public section.
      methods:
       handle_hotspot_click
        for event hotspot_click of cl_gui_alv_grid
            importing e_row_id e_column_id es_row_no.
  private section.
endclass.
class CL_EVENT_RECEIVER implementation.
method handle_hotspot_click.
    data: itab2 like line of inv_det.
    read table inv_det index e_row_id-index into itab2.
    perform select_matdet using itab2
                               changing mat_det.
    call screen 300 starting at 15 5.
endmethod.
endclass.
*&      Module  STATUS_0100  OUTPUT
      text
MODULE STATUS_0100 OUTPUT.
  SET PF-STATUS 'TEST'.
PERFORM SELECT-DATA.  " FOR THE INITIAL LIST.
PERFORM ALV_DISPLAY.   "TO DISPLAY INITIAL SCREEN.
ENDMODULE.                 " STATUS_0100  OUTPUT
*&      Module  USER_COMMAND_0100  INPUT
      text
MODULE USER_COMMAND_0100 INPUT.
CASE OK_CODE.
   WHEN 'BACK'.
     LEAVE TO SCREEN 0.
   WHEN 'EXIT'.
     LEAVE PROGRAM.
ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
*&      Form  SELECT-DATA
      text
-->  p1        text  DATA SELECTION FOR THE 1ST LIST
<--  p2        text
FORM SELECT-DATA .
select alifnr sum( bnetwr ) as netwr
    into corresponding fields of itab
    from ekko as a inner join ekpo as b on bebeln = aebeln
     where abedat in s_bedat group by alifnr.
    select single name1 from lfa1 into itab-name1
       where lifnr = itab-lifnr.
append itab.
endselect.
ENDFORM.                    " SELECT-DATA
*&      Form  ALV_DISPLAY
      text
-->  p1        text  DISPLAY THE LIST FIRST TIME.
<--  p2        text
FORM ALV_DISPLAY .
IF TEST_GRID IS INITIAL.
     CREATE OBJECT TEST_CONTAINER
       EXPORTING
         CONTAINER_NAME              = 'TESTING_ALV'.
      CREATE OBJECT TEST_GRID
        EXPORTING
          I_PARENT          =  TEST_CONTAINER.
   PERFORM PROC_CATALOG CHANGING TEST_FIELDCAT.
   PERFORM PROC_LAYOUT CHANGING TEST_LAYOUT.
   CALL METHOD TEST_GRID->SET_TABLE_FOR_FIRST_DISPLAY
     EXPORTING
       IS_LAYOUT                     =  TEST_LAYOUT
     CHANGING
       IT_OUTTAB                     =  ITAB[]
       IT_FIELDCATALOG               =  TEST_FIELDCAT[].
create object EVENT_RECEIVER.
    set handler EVENT_RECEIVER->handle_double_click for TEST_GRID.
ENDIF.
CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
  EXPORTING
    CONTROL           = TEST_CONTAINER.
CALL METHOD CL_GUI_CFW=>FLUSH.
ENDFORM.                    " ALV_DISPLAY
*&      Form  PROC_CATALOG
      text
     <--P_TEST_FIELDCAT  text
FORM PROC_CATALOG  CHANGING P_TEST_FIELDCAT type lvc_t_fcat.
data: TEST_fieldcat type lvc_s_fcat.
TEST_FIELDCAT-fieldname = 'LIFNR'.
TEST_FIELDCAT-REF_TABLE = 'LFA1'.
TEST_FIELDCAT-OUTPUTLEN = '12'.
TEST_FIELDCAT-coltext   = 'VENDOR CODE'.
TEST_FIELDCAT-SELTEXT   = 'VENDOR CODE'.
*TEST_FIELDCAT-HOTSPOT   = 'X'.
APPEND TEST_FIELDCAT TO P_TEST_FIElDCAT.
CLEAR TEST_FIELDCAT.
TEST_FIELDCAT-fieldname = 'NAME1'.
TEST_FIELDCAT-REF_TABLE = 'LFA1'.
TEST_FIELDCAT-OUTPUTLEN = '25'.
TEST_FIELDCAT-coltext   = 'VENDOR NAME'.
TEST_FIELDCAT-SELTEXT   = 'VENDOR NAME'.
APPEND TEST_FIELDCAT TO P_TEST_FIElDCAT.
CLEAR TEST_FIELDCAT.
TEST_FIELDCAT-fieldname = 'NETWR'.
TEST_FIELDCAT-REF_TABLE = 'EKPO'.
TEST_FIELDCAT-OUTPUTLEN = '20'.
TEST_FIELDCAT-coltext   = 'PURCHASE AMOUNT'.
APPEND TEST_FIELDCAT TO P_TEST_FIElDCAT.
CLEAR TEST_FIELDCAT.
ENDFORM.                    " PROC_CATALOG
*&      Form  PROC_LAYOUT
      text
     <--P_TEST_LAYOUT  text
FORM PROC_LAYOUT  CHANGING P_TEST_LAYOUT type lvc_s_layo.
p_TEST_layout-zebra = 'X'.
p_TEST_layouT-grid_title = 'TEST INTERACTIVE ALV'.
p_TEST_layout-smalltitle = 'X'.
p_TEST_layout-no_hgridln    = 'X'.
p_TEST_layout-excp_conds  = 'X'.
p_TEST_layout-numc_total  = 'X'.
ENDFORM.                    " PROC_LAYOUT
*&      Form  select_table_invdet
      text
     -->P_ITAB1  DATA SELECTION FOR THE 2ND LIST
     <--P_INV_DET  text
FORM select_table_invdet  USING    P_ITAB1 like line of itab
                          CHANGING P_INV_DET.
clear inv_det.
select alifnr aebeln abedat sum( bnetwr ) as netwr
    into corresponding fields of inv_det
    from ekko as a inner join ekpo as b on bebeln = aebeln
     where  alifnr = p_itab1-lifnr and abedat in s_bedat group by
     alifnr  aebeln a~bedat.
    select single name1 from lfa1 into inv_det-name1
       where lifnr = inv_det-lifnr.
append INV_DET.
endselect.
ENDFORM.                    " select_table_invdet
*&      Module  STATUS_0200  OUTPUT
      text
MODULE STATUS_0200 OUTPUT.
IF TEST_GRID1 IS INITIAL.
    CREATE OBJECT TEST_CONTAINER1
       EXPORTING
         CONTAINER_NAME              = 'NEXT_CONT'.
    IF SY-SUBRC NE 0.
      CALL FUNCTION 'POPUP_TO_INFORM'
        EXPORTING
          TITEL         =  SY-REPID
          TXT1          =  SY-SUBRC
          TXT2          =  'THE CONTROL IS NOT CREATED'.
  ENDIF.
     CREATE OBJECT TEST_GRID1
       EXPORTING
         I_PARENT          = TEST_CONTAINER1.
   PERFORM PROC_CATALOG1 CHANGING TEST_FIELDCAT1.
   PERFORM PROC_LAYOUT1 CHANGING TEST_LAYOUT1.
    CALL METHOD TEST_GRID1->SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
        IS_LAYOUT                     =  test_layout1
      CHANGING
        IT_OUTTAB                     =  inv_det[]
        IT_FIELDCATALOG               =  TEST_FIELDCAT1[].
create object EVENT_RECEIVER1.
    set handler EVENT_RECEIVER1->handle_hotspot_click for TEST_GRID1.
ELSE.
   CALL METHOD TEST_GRID1->REFRESH_TABLE_DISPLAY.
ENDIF.
CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
  EXPORTING
    CONTROL           =  TEST_container1.
CALL METHOD CL_GUI_CFW=>FLUSH.
ENDMODULE.                 " STATUS_0200  OUTPUT
*&      Module  USER_COMMAND_0200  INPUT
      text
MODULE USER_COMMAND_0200 INPUT.
  case ok_code.
    when 'EXIT'.
leave to screen 0.
  endcase.
  clear ok_code.
ENDMODULE.                 " USER_COMMAND_0200  INPUT
*&      Form  PROC_CATALOG1
      text
     <--P_TEST_FIELDCAT1  text
FORM PROC_CATALOG1  CHANGING P_TEST_FIELDCAT1 type lvc_t_fcat.
data: TEST_fieldcat1 type lvc_s_fcat.
TEST_FIELDCAT1-fieldname = 'EBELN'.
TEST_FIELDCAT1-REF_TABLE = 'EKKO'.
TEST_FIELDCAT1-OUTPUTLEN = '12'.
TEST_FIELDCAT1-coltext   = 'P.O NUMBER'.
TEST_FIELDCAT1-SELTEXT   = 'P.O NUMBAR'.
TEST_FIELDCAT1-HOTSPOT   = 'X'.
APPEND TEST_FIELDCAT1 TO P_TEST_FIElDCAT1.
CLEAR TEST_FIELDCAT1.
TEST_FIELDCAT1-fieldname = 'BEDAT'.
TEST_FIELDCAT1-REF_TABLE = 'EKKO'.
TEST_FIELDCAT1-OUTPUTLEN = '10'.
TEST_FIELDCAT1-coltext   = 'P.O.DATE'.
TEST_FIELDCAT1-SELTEXT   = 'P.O.DATE'.
APPEND TEST_FIELDCAT1 TO P_TEST_FIElDCAT1.
CLEAR TEST_FIELDCAT1.
TEST_FIELDCAT1-fieldname = 'NETWR'.
TEST_FIELDCAT1-REF_TABLE = 'EKPO'.
TEST_FIELDCAT1-OUTPUTLEN = '20'.
TEST_FIELDCAT1-coltext   = 'PURCHASE AMOUNT'.
APPEND TEST_FIELDCAT1 TO P_TEST_FIElDCAT1.
CLEAR TEST_FIELDCAT1.
ENDFORM.                    " PROC_CATALOG1
*&      Form  PROC_LAYOUT1
      text
     <--P_TEST_LAYOUT1  text
FORM PROC_LAYOUT1  CHANGING P_TEST_LAYOUT1  type lvc_s_layo.
p_TEST_layout1-zebra = 'X'.
p_TEST_layouT1-grid_title = 'DATE WISE PURCHASE ORDERS'.
p_TEST_layout1-smalltitle = 'X'.
p_TEST_layout1-no_hgridln    = 'X'.
p_TEST_layout1-excp_conds  = 'X'.
p_TEST_layout1-numc_total  = 'X'.
ENDFORM.                    " PROC_LAYOUT1
*&      Form  select_matdet
      text
     -->P_ITAB2  text
     <--P_MAT_DET  text
FORM select_matdet  USING    P_ITAB2 like line of inv_det
                    CHANGING P_MAT_DET.
select ebeln bedat lifnr from ekko into corresponding fields of mat_det
    where ebeln = p_itab2-ebeln and bedat = p_itab2-bedat
      and lifnr = p_itab2-lifnr..
select matnr menge netpr NETWR from ekpo
   into corresponding fields of mat_det
     where ebeln = mat_det-ebeln.
select single maktx from makt into corresponding fields of mat_det
     where matnr = mat_det-matnr.
append mat_DET.
endselect.
endselect.
ENDFORM.                    " select_matdet
*&      Module  STATUS_0300  OUTPUT
      text
MODULE STATUS_0300 OUTPUT.
set pf-status 'TEST1'.
IF TEST_GRID2 IS INITIAL.
   CREATE OBJECT TEST_CONTAINER2
     EXPORTING
       CONTAINER_NAME              = 'INVOICE_DETAILS'.
    IF SY-SUBRC NE 0.
      CALL FUNCTION 'POPUP_TO_INFORM'
        EXPORTING
          TITEL         =  SY-REPID
          TXT1          =  SY-SUBRC
          TXT2          =  'THE CONTROL IS NOT CREATED'.
    ENDIF.
    CREATE OBJECT TEST_GRID2
      EXPORTING
        I_PARENT          = TEST_CONTAINER2.
     PERFORM PROC_CATALOG2 CHANGING TEST_FIELDCAT2.
     PERFORM PROC_LAYOUT2 CHANGING TEST_LAYOUT2.
     CALL METHOD TEST_GRID2->SET_TABLE_FOR_FIRST_DISPLAY
       EXPORTING
         IS_LAYOUT                     = test_layout2
       CHANGING
         IT_OUTTAB                     = mat_det[]
         IT_FIELDCATALOG               = test_fieldcat2[].
else.
CALL METHOD TEST_GRID2->GET_FRONTEND_LAYOUT
  IMPORTING
    ES_LAYOUT = ls_layout.
CALL METHOD TEST_GRID2->SET_FRONTEND_LAYOUT
  EXPORTING
    IS_LAYOUT = ls_layout.
ENDIF.
CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
  EXPORTING
    CONTROL           = test_container2.
CALL METHOD CL_GUI_CFW=>FLUSH.
IF SY-SUBRC NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
  EXPORTING
    TITEL         = SY-REPID
    TXT1          = SY-SUBRC
    TXT2          = 'ERROR IN FLUSH'.
ENDIF.
ENDMODULE.                 " STATUS_0300  OUTPUT
*&      Module  USER_COMMAND_0300  INPUT
      text
MODULE USER_COMMAND_0300 INPUT.
case ok_code.
    when 'BACK'.
        leave to screen 0.
    WHEN 'CANCLE'.
      LEAVE PROGRAM.
  endcase.
  clear ok_code.
ENDMODULE.                 " USER_COMMAND_0300  INPUT
*&      Form  PROC_CATALOG2
      text
     <--P_TEST_FIELDCAT2  text
FORM PROC_CATALOG2  CHANGING P_TEST_FIELDCAT2 TYPE LVC_T_FCAT.
data: TEST_fieldcat2 type lvc_s_fcat.
TEST_FIELDCAT2-fieldname = 'MATNR'.
TEST_FIELDCAT2-REF_TABLE = 'EKPO'.
TEST_FIELDCAT2-OUTPUTLEN = '12'.
TEST_FIELDCAT2-coltext   = 'MATERIAL NO'.
TEST_FIELDCAT2-SELTEXT   = 'MATERIAL NO'.
*TEST_FIELDCAT1-HOTSPOT   = 'X'.
APPEND TEST_FIELDCAT2 TO P_TEST_FIElDCAT2.
CLEAR TEST_FIELDCAT2.
TEST_FIELDCAT2-fieldname = 'MAKTX'.
TEST_FIELDCAT2-REF_TABLE = 'MAKT'.
TEST_FIELDCAT2-OUTPUTLEN = '30'.
TEST_FIELDCAT2-coltext   = 'DESCRIPTION'.
TEST_FIELDCAT2-SELTEXT   = 'DESCRIPTION'.
APPEND TEST_FIELDCAT2 TO P_TEST_FIElDCAT2.
CLEAR TEST_FIELDCAT2.
TEST_FIELDCAT2-fieldname = 'MENGE'.
TEST_FIELDCAT2-REF_TABLE = 'EKPO'.
TEST_FIELDCAT2-OUTPUTLEN = '10'.
TEST_FIELDCAT2-coltext   = 'QUANTITY'.
TEST_FIELDCAT2-SELTEXT   = 'QUANTITY'.
APPEND TEST_FIELDCAT2 TO P_TEST_FIElDCAT2.
CLEAR TEST_FIELDCAT2.
TEST_FIELDCAT2-fieldname = 'NETPR'.
TEST_FIELDCAT2-REF_TABLE = 'EKPO'.
TEST_FIELDCAT2-OUTPUTLEN = '20'.
TEST_FIELDCAT2-coltext   = 'PURCHASE AMOUNT'.
APPEND TEST_FIELDCAT2 TO P_TEST_FIElDCAT2.
CLEAR TEST_FIELDCAT2.
TEST_FIELDCAT2-fieldname = 'NETWR'.
TEST_FIELDCAT2-REF_TABLE = 'EKPO'.
TEST_FIELDCAT2-OUTPUTLEN = '20'.
TEST_FIELDCAT2-coltext   = 'PURCHASE AMOUNT'.
APPEND TEST_FIELDCAT2 TO P_TEST_FIElDCAT2.
CLEAR TEST_FIELDCAT2.
ENDFORM.                    " PROC_CATALOG2
*&      Form  PROC_LAYOUT2
      text
     <--P_TEST_LAYOUT2  text
FORM PROC_LAYOUT2  CHANGING P_TEST_LAYOUT2  type lvc_s_layo.
p_TEST_layout2-zebra = 'X'.
p_TEST_layouT2-grid_title = 'PURCHASE ORDERS MATERIAL WISE DETAILS'.
p_TEST_layout2-smalltitle = 'X'.
p_TEST_layout2-no_hgridln    = 'X'.
p_TEST_layout2-excp_conds  = 'X'.
p_TEST_layout2-numc_total  = 'X'.
ENDFORM.                    " PROC_LAYOUT2
thanks
Vinayak.

Vinayak,
Add the Code(ELSE part) into the Form ALV_DISPLAY.
IF TEST_GRID IS INITIAL.
  CREATE OBJECT TEST_CONTAINER
    EXPORTING
      CONTAINER_NAME = 'TESTING_ALV'.
  CREATE OBJECT TEST_GRID
    EXPORTING
     I_PARENT = TEST_CONTAINER.
   PERFORM PROC_CATALOG CHANGING TEST_FIELDCAT.
   PERFORM PROC_LAYOUT CHANGING TEST_LAYOUT.
   CALL METHOD TEST_GRID->SET_TABLE_FOR_FIRST_DISPLAY
      EXPORTING
           IS_LAYOUT = TEST_LAYOUT
      CHANGING
           IT_OUTTAB = ITAB[]
           IT_FIELDCATALOG = TEST_FIELDCAT[].
    create object EVENT_RECEIVER.
    set handler EVENT_RECEIVER->handle_double_click
       for   TEST_GRID.
<b>ELSE.
   CALL METHOD TEST_GRID->REFRESH_TABLE_DISPLAY(
             "EXPORTING
             "IS_STABLE =
             "I_SOFT_REFRESH=
                        ).</b>
ENDIF.
Thanks
Kam
Note: Allot points for all worthful postings

Similar Messages

  • My macbook pro retina 2014 has crashed for the 2nd time in 2 mo

    My macbook pro retina 2014 has crashed for the 2nd time in 2 months. Can't get past the gray/apple screen.  The first time the genius bar tried all the different tricks to get it to boot all the way through, but in the end had to reinstall mavericks.  They said there weren't any indications of it being a hardware issue after running diagnostics.  The only possible reason is that it has something to do with some ProTools 10 plugins which I had downloaded in both occasions less than a week before.  I don't believe that would be the issue and I'm guessing it's a hardware issue at this point.  It's still under a factory warranty, so I'm not too concerned.  Thoughts?

    Try SMC and PRAM resets:
    http://support.apple.com/en-us/HT201295
    http://web.archive.org/web/20140711222006/http://support.apple.com/kb/ht1379
    If no success, try booting into the recovery partition and select Disk Utility from the 4 option menu.
    Run Disk Utility>First Aid, Verify and Repair.
    Any Change?
    Ciao.

  • When Webdynpro popup is opened for the 2nd time, image is not shown

    Hi Experts,
    We have created a WebDynpro with a popup window.
    This is shown in an iView in the portal.
    If the popup is opened for the first time it looks good.
    If the popup is opened for the 2nd time the image is not shown and the title is shown with a different font.
    If we do a preview of the iView in PCD content area, the title and image is shown and the right font is used: also when you open this for the second time.
    If the iView is in a role the problem appears.
    How can this be solved?
    Thanks in advance,
    Joeri

    Sounds like a wrong reference to a stylesheet.
    Use IE Developer Toolbar or Firefox to debug the code. Or view source (of the popup) and search for .css. Do the same for the popup that doesn't work. Check if there are differences.
    Good luck!
    Noel

  • Buttons are not displayed for the first time when drawImage method is used

    Hi
    In my swing window 2 buttons are there and when clicking these buttons, it should display an image . The two buttons are displayed at the first time and I can click on it . While clicking a button , the corresponding image is also got displayed. [ I am using drawImage() function for it] But what the problem is, then the two buttons are not displayed and it will be displayed again when the mouse moves along the position of these two buttons. And this problem occurs only at the first time..When they are on the window on a second time, they won't vanish when the image is displayed when clicking it. Is this the problem with paint() method?. I am using start() method also.
    Please help me!
    Thank You

    Hi
    This is not my exact program, that has a large no: of code. So I am putting here a sample one. One thing I would like to point out is that , I can see the buttons at the time of loading the applet and suddenly it vanishes and the image is drawn. Then if I move the mouse along the position of these buttons , they got displayed.
    import java.awt.*;
    import javax.swing.*;
    /*<applet code = MyClass width = 500 height = 500>
    </applet>
    public class MyClass extends JApplet
    Image img;
    JButton b1,b2;
    Container cp;
    Canvas1 cv;
    class Canvas1 extends JPanel
    public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.black);
    g.fillRect(0,0,500,500);
    img = getImage(getCodeBase(),"image1.jpeg");
    g.drawImage(img,20,20,this);
    public void start()
    cv = new Canvas1();
    cv.setBounds(0,0,500,500);
    cp.add(cv);
    public void init()
    setLayout(null);
    cp = getContentPane();
    b1 = new JButton("Button1");
    b1.setBounds(1,1,100,30);
    cp.add(b1);
    b2 = new JButton("Button2");
    b2.setBounds(200,1,100,30);
    cp.add(b2);
    It would be very helpful to me if you could fix the problem.
    Thank You.

  • Folder content disappears for the 2nd time

    Two weeks ago I noticed that some of my folders in Documents are empty. I thought it might be a problem that refers to the last backup, so I was replaced that empty folders with those from backup disk. But today I have the same problem, this time one folder is empty. Does anybody know what's happen to my mbp?
    thanks
    //b

    I've got a list of things to look at and tryout to see if we can narrow down what's happening. Try any one in any particular order see if the problem keeps happening.
    1. What format are the original photos in?
    If they are in Jpeg and it's failed each time, are they coming out of iPhoto, Photoshop?
    File size may also be a problem if they are very large files.
    2. In iMovie, Duplicate the project in the Project Library
    Try dragging a photo into that copy of the project
    Any differences? If you can import photos into the Duplicate, try copying then pasting into the original and see if the image shows up.
    3. In iPhoto Duplicate a picture in the iPhoto Library
    If you want to have a particular picture and can find it within iPhoto try making a duplicate.
    Does it show up in the Photo browser? And can you drag that duplicated picture into the project? What do you see, what result do you get?
    4. Clean the iMovie cache
    Quit out of iMovie. Then go to your Movies Folder > iMovie Events >  Project folder name
    Drag the folder "iMovie Thumbnails" to your trash. Then open the folder "iMovie Cache" and drag the file "Cache.plist" to the trash.
    This should regenerate any cached thumbnails for the project, may be helpful.
    5. Try tossing out the iMovie preferences
    Quit iMovie.
    Open a Finder window to your user's Home folder>Library >Preferences folder. Find the file named "com.apple.iMovie.plist" or "com.apple.iMovieAppl.plist" and move it to the trash.
    Try opening iMovie again, then opening the project and dragging a photo from the Photo Browser into the Project timeline.

  • Blackberry 8330 keyboard doesn't work for the 2nd time

    Hi, this is the second time that this has happened to me. The first time, I had finished a text message, and left it on my bed, only to come back an hour later, and the entire keyboard didn't work. The only thing that worked was the trackball, but it could only move around; I wasn't able to click it or anything. After many battery pulls, I looked online, and saw that I could try to reload the OS using application loader. I did that, but I was left with the same error. I eventually ended up having to go to the store, and as I was still under warranty, got them to replace it for me. All in all, a huge hassle. Lo and behold, two months later, the same issue is back. I've tried the battery pulls, and reloading the OS, but nothing seems to work! Any ideas? I don't want to have to keep going back to the store to replace it. 

    I have the same problem on My Blackberry 8310 Curve..

  • HDMI stopped working - "compromis​ed" - happened for the 2nd time

    I have a Motorola set top box Model: QIP7232-P2.  I have an older Sony HDTV (circa 2004) with only one HDMI input.  I have 3 different things that use HDMI including the cable box.  When I got the 3rd, I bought a cheap HDMI switch off ebay and hooked it up to my TV
    Shortly after I got my HDMI switch my previous set top box stopped working (no HDMI video, but had audio via HDMI, and component video still worked) and Verizon support didn't know what to do so they sent me a new box.
    After that I blamed the switch and decided to just swap cables by hand instead.  Today I was swapping cables in and out again and the same thing happened.  An error message came up that said the HDMI was compromised and I should just use component cables.  
    I see this thread from 2009 which seems similar: http://forums.verizon.com/t5/FiOS-TV-Technical-Ass​istance/HDMI-stopped-working-on-my-HD-DVR-yet-AGAI​...
    Are people still having this problem, or is it because I have such an old TV?  Do newer TVs work better?
    Rebooting and resetting the box doesn't seem to get it back into a working state.  Is there any way to get it back to a working state?  Am I stuck using component cables unless/until I replace the box, and then back in the same pit the next time a cable gets pulled out?

    1.   I've used one of the HDMI switches in the past. It was highly rated on Amazon, and wasn't cheap.  It still  caused weird and unpredictable problems.  Unless you want to spend the money for a high quality switch, I would suggest not using them.  You may get lucky, but I don't trust them.
    2.  Turn both the TV and the source off before you remove or insert an HDMI cable.  There are some who say that's not necessary.  I prefer to be safe.

  • Genuis bar did not fix my MBP for the 2nd time!

    Greetings everyone,
    I would like to share my frasturated delima with NY apple store and DC's.
    I am a forgeiner Pilot and I own a Mid-2007 Macbook pro and its logic board was suddenly dameged month ago. Like everyone else I arranged an appointment with NY apple store.
    They took it and they fixed it and I received it 2 weeks after I returned to USA again. It was working 2 days then suddenly it stopped, unfortunatly I was on the plane at that time heading to my country.
    So, I've made another appointment in DC's branch and they took it again and they brought it back to me after their claim of fully testing it before giving it back to me.
    3 days later it stopped working and a black screen is what I was getting. Luckly, I have a flight next week to DC and I have made another appointment with them.
    That being said, is there someone I could contact and complain about my very bad experience ? This is the only apple product I own beside my iPad and you know how it feels like when you don't get the satisfaction the company claims to have for its customers.

    Ask to speak to the manager of the said store.  We are just end users here.  If the manager won't look into it, call 1-800-APLCARE, and ask to speak to Customer Relations.  Have all case numbers of prior visits handy.  Customer Relations is a second branch to Customer Support that handles cases Customer Support can't answer.

  • Unable to run Web App for the 2nd Time

    Hi,
    I am using Weblogic 8.1 sp5 as my deploying platform. Using the official tutorials, I am able to export my JSC2 web app into a WAR file that is deployable on my Weblogic server.
    Upon running the application, it works perfectly. However, upon closing my browser and then restarting the browser, running the web app again yields exceptions, please refer to the bottom.
    What am I doing wrong? I am suspecting the web-app wasn't detroyed properly when another instances of it is started...
    Please advise.
    Adams
    Error 500--Internal Server Error
    com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(Ljavax/faces/context/FacesContext;)V(ViewHandlerImpl.java:601)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIViewRoot;)V(ViewHandlerImpl.java:316)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(Ljavax/faces/context/FacesContext;)V(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(Ljavax/faces/event/PhaseId;Lcom/sun/faces/lifecycle/Phase;Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.render(Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FacesServlet.java:198)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(UploadFilter.java:194)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:326)
         at weblogic.servlet.jsp.PageContextImpl.forward(Ljava/lang/String;)V(PageContextImpl.java:150)
         at jsp_servlet.__jscreator_index._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__jscreator_index.java:122)
         at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6985)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
    Caused by: java.lang.RuntimeException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Lcom/sun/data/provider/RowKey;)V(CachedRowSetDataProvider.java:343)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(I)Z(CachedRowSetDataProvider.java:300)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount()I(CachedRowSetDataProvider.java:624)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:806)
         at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:429)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowCount()I(TableRowGroup.java:749)
         at com.sun.rave.web.ui.component.Table.getRowCount()I(Table.java:307)
         at com.sun.rave.web.ui.component.Table.getTableActionsTop()Ljavax/faces/component/UIComponent;(Table.java:539)
         at com.sun.rave.web.ui.renderer.TableRenderer.renderActionsTop(Ljavax/faces/context/FacesContext;Lcom/sun/rave/web/ui/component/Table;Ljavax/faces/context/ResponseWriter;)V(TableRenderer.java:257)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(TableRenderer.java:124)
         at javax.faces.component.UIComponentBase.encodeBegin(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:683)
         at com.sun.rave.web.ui.component.Table.encodeBegin(Ljavax/faces/context/FacesContext;)V(Table.java:811)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(Ljavax/faces/component/UIComponent;Ljavax/faces/context/FacesContext;)V(RenderingUtilities.java:78)
         at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(AbstractRenderer.java:194)
         at javax.faces.component.UIComponentBase.encodeChildren(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:701)
         at javax.faces.webapp.UIComponentTag.encodeChildren()V(UIComponentTag.java:607)
         at javax.faces.webapp.UIComponentTag.doEndTag()I(UIComponentTag.java:544)
         at jsp_servlet.__vesselsmovements._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__vesselsmovements.java:1060)
         at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(RequestDispatcherImpl.java:328)
         at com.sun.faces.context.ExternalContextImpl.dispatch(Ljava/lang/String;)V(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIViewRoot;)V(ViewHandlerImpl.java:130)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIViewRoot;)V(ViewHandlerImpl.java:311)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(Ljavax/faces/context/FacesContext;)V(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(Ljavax/faces/event/PhaseId;Lcom/sun/faces/lifecycle/Phase;Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.render(Ljavax/faces/context/FacesContext;)V(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FacesServlet.java:198)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
    Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Invalid parameter binding(s).
         at com.microsoft.jdbc.base.BaseExceptions.createException(Ljava/lang/String;Ljava/lang/String;)Ljava/sql/SQLException;(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(ILjava/lang/String;)Ljava/sql/SQLException;(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.validateParameters(Lcom/microsoft/jdbc/base/BaseParameters;)V(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.validateParameters()V(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.preImplExecute()V(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.commonExecute()V(Unknown Source)
         at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal()Ljava/sql/ResultSet;(Unknown Source)
         at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery()Ljava/sql/ResultSet;(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery()Ljava/sql/ResultSet;(PreparedStatement.java:124)
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(Ljavax/sql/RowSetInternal;)V(CachedRowSetXReader.java:193)
         at com.sun.sql.rowset.CachedRowSetXImpl.execute(Ljava/sql/Connection;)V(CachedRowSetXImpl.java:950)
         at com.sun.sql.rowset.CachedRowSetXImpl.execute()V(CachedRowSetXImpl.java:1410)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute()V(CachedRowSetDataProvider.java:1219)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(Lcom/sun/data/provider/RowKey;)V(CachedRowSetDataProvider.java:329)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(I)Z(CachedRowSetDataProvider.java:300)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount()I(CachedRowSetDataProvider.java:624)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:806)
         at com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys()[Lcom/sun/data/provider/RowKey;(TableRowGroup.java:429)
         at com.sun.rave.web.ui.component.TableRowGroup.getRowCount()I(TableRowGroup.java:749)
         at com.sun.rave.web.ui.component.Table.getRowCount()I(Table.java:307)
         at com.sun.rave.web.ui.component.Table.getTableActionsTop()Ljavax/faces/component/UIComponent;(Table.java:539)
         at com.sun.rave.web.ui.renderer.TableRenderer.renderActionsTop(Ljavax/faces/context/FacesContext;Lcom/sun/rave/web/ui/component/Table;Ljavax/faces/context/ResponseWriter;)V(TableRenderer.java:257)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(TableRenderer.java:124)
         at javax.faces.component.UIComponentBase.encodeBegin(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:683)
         at com.sun.rave.web.ui.component.Table.encodeBegin(Ljavax/faces/context/FacesContext;)V(Table.java:811)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(Ljavax/faces/component/UIComponent;Ljavax/faces/context/FacesContext;)V(RenderingUtilities.java:78)
         at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(Ljavax/faces/context/FacesContext;Ljavax/faces/component/UIComponent;)V(AbstractRenderer.java:194)
         at javax.faces.component.UIComponentBase.encodeChildren(Ljavax/faces/context/FacesContext;)V(UIComponentBase.java:701)
         at javax.faces.webapp.UIComponentTag.encodeChildren()V(UIComponentTag.java:607)
         at javax.faces.webapp.UIComponentTag.doEndTag()I(UIComponentTag.java:544)
         at jsp_servlet.__vesselsmovements._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(__vesselsmovements.java:1060)
         at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(JspBase.java:33)

    Well, I have solve this problem myself.. apparently, I used static variables to initalise the app. Changing the static variables to session variables solved the problems.

  • Have to pay for iLife for the 2nd time!?

    I've got iLife apps on my mac mini mid 2011. I wanted to install them on my mb air mid 2013, but for some reason iPhoto and iMovie aren't free, except GarageBand - this app is free. I've already bought iLife apps from one Apple ID on my mac mini and the same ID I use now on my mb air. Do I have to pay for iPhoto again?

    Welcome to Apple Support Communities
    Your MacBook Air should come with those applications for free. On your MacBook Air, open the Mac App Store, log in with the Apple ID you used to set it up, go to Purchases and accept iPhoto, iMovie, GarageBand, Pages, Keynote and Numbers.
    If you do not see any application to accept, see > http://www.apple.com/creativity-apps/mac/up-to-date/

  • RowInconsistentException does not show for the 2nd time

    Hi,
    I have a simple page with a few input fields and a save button.
    The input fields are derived from a ViewObject based on a single Entity Object.
    I open the page in two browsers. I follow the below steps:
    1) make changes in first browser
    2) make change in second browser
    3) save changes in first browser - it is successful
    4) click on save on second browser - a RowInconsistentException is thrown
    5) click on save again in the second browser - the changes gets saved, I was expecting the exception to be thrown again, but it is not thrown.
    I tried debugging it by printing the posted attributes (Entitiy.getPosetdAttribute()) before saving.
    On step-4 the posted attributes are different then the ones in DB, so the exception is thrown, that is fine.
    But on step-5 the posted attributes are same as the ones in the DB, (it looks like they are updated from the DB again on step-4) and the exception is not thrown.
    But in my page I want the save in step-5 to fail so that the user has to requery the page. How can I do that?
    Any Idea!!
    Thanks,
    Anil

    If you want to keep getting the JBO-25014 and not refresh the values from the database:
    boolean[] attributeChanges;int numberOfAttributes;
    public void lock() {   
    Object[] currValues = saveCurrentValues();  
    try {        super.lock();    }
    catch (RowInconsistentException e) {        revert();        resetCurrentValues(currValues);        throw(e);    }}
    private Object[] saveCurrentValues() { 
    attributeChanges = new boolean[getAttributeCount()];    numberOfAttributes = getAttributeCount();    // Save the current values of the attributes (so that we can restore them later)   
    Object[] currValues = new Object[numberOfAttributes];      
    for (int i=0; i<numberOfAttributes; i++) {       
    currValues[i] = getAttribute(i);        attributeChanges[i] = isAttributeChanged(i);    }    return currValues;}  
    private void resetCurrentValues(Object[] currValues) {   
    for (int i=0; i<numberOfAttributes; i++) {         // Set the EO instance with the saved values                   System.out.println("Attr["+ i + "] :" +currValues[i]);                 
    if (attributeChanges[i]) {           
    populateAttributeAsChanged(i, currValues[i]);         }
    else {            
    populateAttribute(i, currValues[i]);         }    }}
    Sorry about the formatting. The new forum mess everything up
    Timo

  • SIM card not supported for the 2nd time

    My initial iphone 4 was broken beyond repair, under warranty I forked out the cash to receive a replacement. A replacement which told me my sim was not supported - receiving a replacement micro SIM from my carrier it STILL DID NOT WORK. I sent my replacement away, and received a replacement for my replacement. SIM card still not supported. SIM works fine with any other iphone 4, i've tested it on several other computers and completed full restore. Is it just me or does Apple seem to be trolling me?

    I bought an iphone from o2 yesterday and got the micro sim activated today, inserted it and itunes says the sim carrier is not supported :S yet the phone is from o2 and so is the sim! And the sim works fine in a normal o2 phone when inserted with the bigger tray.
    I have taken it out and put it in again but no luck! I rang o2 and they said they are sending me a replacement micro sim but i have read about the problem being in the phone (well at least it was in the 3gs)!
    I'm so gutted - owned an iphone for 24 hours without using it think im going to o2 and then the apple shop tomorrow! Not at all happy...

  • Setting up 24" LED display for the first time

    Can anyone tell me, and forgive me if this is stupid, how to get the LED display to work?!
    I have an 09 MBP and i've plugged it all in, the LED immediately powered up and it displays the Aurora image but I cant seem to work out how to have what i'm doing on the MBP screen transferred to the LED. The only response I have had from it is when I went into Displays in System Pref. and then the resolution options screen showed on the LED.
    So far I have a wired keyboard connected to the back of the LED - which is working fine (i'm typing this on it) but i have no mouse connected yet - the Magic Mouse I have ordered hasn't arrived yet and I have been planning to use the MBP trackpad until it does. Is that the problem?
    If not, what is?! Thanks.

    I've worked out something else too...
    With mirroring turned off I can get the open windows on the MBP to show on the LED by dragging the windows on the MBP off the MBP's screen to the right, which then makes the windows appear from the left on the LED, and they do so with the same clarity as they are displayed at on the MBP. The quality of the image using this is perfect, and yet with mirroring turned on the image is just not as good. This seems very weird.
    Any suggestions on this also?

  • Background/menu is up but no light for the 2nd time...inverter board?

    hey guys i need some help again...for those who don't know I once posted http://discussions.apple.com/thread.jspa?threadID=411174&tstart=0 ....now i have the same problem after getting it fixed at apple store...Light went out again but the computer boots up fine, i can hardly see the manu and the other stuff. When i sent it in it was in march 06 they changed the inverter assembly...
    DoeS ANYONE KNOW A WEBSITE THAT SHOWS WHERE THE INVERTER IS LOCATED..IFIX DOESN'T HAVE IT..also would a 15" alum. G4 inverter work on a 17"?i found on ebay 25 dollars for a 15"?
    Please help..i used to have the coolest laptop on campus but now I don't know about apple notebooks anymore

    This machine has known issues that HP refuses to acknowledge. Keep trying, they have to notice us eventually.

  • My camera on my iPad 2 has stopped working for the second time.

    My camera on my iPad.2 has stopped working for the 2nd time. Last time it just started working again after a couple of months.
    I have tried closing the camera app completely &amp; also re-booting the iPad completely but to no avail.
    Any ideas anyone?

    You'll first need to have iTunes on your computer - from the summary page (the one that opens when you select the iPad in iTunes) it'll give you options for backing up and restoring it. On that page just select 'restore iPad' and that'll get it started.
    Hope it's just software then, those out-of-warranty replacements can get pricey.

Maybe you are looking for