JComponent child not painting correctly

Okay, I promise this will be my last question for the night. For homework we have to do this card layout thing. The problem I am having is that, even though my Sprites paint function is getting called, the Graphics it is getting set doesn't work (I acctually think it is appearing for a second, then disapearing). Can anyone see what I'm missing?
Thanks everyone.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class mainWindow extends JFrame {
    public mainWindow(){
        super("Pumpkin Viewer");
        setSize(800, 600);
        setVisible(true);
        JPanel card1 = new JPanel();
        card1.add(new Sprite());
        card1.add(new JButton("Button 2"));
        card1.add(new JButton("Button 3"));
        JPanel card2 = new JPanel();
        card2.add(new JTextField("TextField", 20));
        getContentPane().setLayout(new CardLayout());
        getContentPane().add(card1, "First");
        getContentPane().add(card2, "Second");
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        addMouseListener(new MouseListener(){
            public void mouseReleased(MouseEvent e){};
            public void mouseClicked(MouseEvent e){
                CardLayout cardLayout = (CardLayout)(getContentPane().getLayout());
                cardLayout.next(getContentPane());
            public void mouseEntered(MouseEvent e){};
            public void mouseExited(MouseEvent e){};
            public void mousePressed(MouseEvent e){};
    public static void main(String[] args) {
        new mainWindow();
    public void paint(Graphics g){
        super.paint(g);
class Sprite extends JComponent{
    public void paint(Graphics g){
        g.fillOval(100, 100, 10, 10);
        g.drawOval(100, 100, 10, 10);
}

I have no idea why setPerferredSize works and setBounds doesn't setBounds will set the "size" and "location" of a component and should only be used when the LayoutManager has been set to null.
The preferred size is used by the Layout Manager to layout the components once the components are layed out the LayoutManager will use setSize() and setLocation and therefore override the previous settings for these methods.
When a component is painted it will use the "size" and "location" of the component.

Similar Messages

  • JOptionPane not painting correctly in JApplet.

    Having a JOptionPane painting problem in my JApplet.
    applet has a JFrame, that is the "main" container.
    Main frame is already shown. USer clicks a button, and all I'm trying to do is show a simple JOptionPane.
    SPecifically trying to call JOptionPane.showMessageDialog(null, "test message");
    Note the button that generates the event, is on a Panel, within the JFrame.
    I've tried just about everyting I can think of. SwingUtilites.invokeLater ... setting the null to JFrame, applet... and just about everything else...
    JOptionPane does pop up, but the background of the Pane never paints correctly... I've used 1.3.1_04, and 1.4 .. plugins...
    Now at a lost... Read all the newsgroups... and forums..
    But I'm missing somehting?
    Thanks in advace...
    EB.

    check what is in ur paint(Graphic g) method. if it does nothing, remove the paint(Graphic g) method. if it has some codes, double check ur codes.

  • Hyperlinks not saved correctly in PDF and Excel

    Hi,
    I have a few reports with hyperlinks to other reports that contain multiple input parameters, which makes the links very long. ( greater than 400 characters )
    When the reports are saved as excel, I am unable to invoke the child report on clicking the link as the link is not saved entirely ( can see that when i try to edit the hyperlink in excel ).  Therefore the child report opens but prompts for inputs as not all the inputs are passed
    When saved as pdf, the link is not saved correctly and i cannot invoke the child report at all
    Please can you suggest a solution/workaround? Alternately is it possible to disable the hyperlinks when saved as excel/pdf?
    Regards
    Sameer

    Hello,
    I think this is a limitation in Excel where URL syntax has to be 255 characters or less
    In order to prove that it's coming from excel and not BO, try in excel to create a false hyperlink which contains more than 255 characters.
    A workaround might be to modify the cell as text and will not be recognized as a URL. So you should get it entirely.
    Please let me know if it helps you
    Regards,
    Philippe

  • This version of iTunes has not been correctly configured

    I completed a scan on my computer, and asked it to delete all duplicated files. For some reason i cannot open my iTunes, it just says 'This version of iTunes has not been correctly configured'. Me being me, i haven't copied any files or music to an external hardrive and now i can't even access them. I'm travelling on the train for 12 hours in a few days and would really like to be able to atleast watch a film! Please help! Thanks in advance

    but it just says it cannot repair due to another program being installed.
    I'd like to have a closer look at that error message please.
    Generate the error message again. While the error message box is open, hold down the Alt key and hit the PrtSc key. Paste the screenshot into an image file (using a program like Paint), and save the file.
    Start a reply here and click the wee camera icon at the top of the reply window. Click "Choose file", browse to the image file, select the file and click "Open". Now click "Insert file" to insert the screenshot into the reply.

  • Entity Descriptions are not displayed correctly in Combo box dropdown list

    In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
    Example:
    'Entity A. LTD' becomes 'LTD'
    'Entity B Inc.' becomes blank
    It seems that everything before the dot is not displayed when opening the combobox.
    It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
    Does anybody knows the sollution or have seen this issue before?

    Hi,
    This is a known issue with combo box list of values.
    Please follow this workaround:
    - Remove ComboboxLOV on Deptno
    - Create an updateable transient attribute(Say Dname) of type String
    - Define combobox lov with following values:
    List Data Source: DeptView1
    List Attribute: Dname
    List Return Values:
    Dname - Dname
    Deptno - Deptno
    UI Hints: Display Attribute - Dname
    - Edit Dname(transient attribute) and provide following groovy expression
    oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
    return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
    Sireesha

  • Gray image not shown correctly in photo app

    Hi, in my iphone App, I create a Gray CGImage. Some code is here:
    colorSpace = CGColorSpaceCreateDeviceGray();
    if (colorSpace == NULL)
    fprintf(stderr, "Error allocating color space\n");
    return NULL;
    CGDataProviderRef dataProvider =
    CGDataProviderCreateWithData(NULL,
    myimagebuffer,
    bitmapByteCount,
    NULL);
    CGImageRef cgImage = CGImageCreate(col,
    row,
    8,
    8,
    col,
    colorSpace,
    kCGImageAlphaNone,
    dataProvider,
    NULL,
    false,
    kCGRenderingIntentDefault);
    And then I use this CGImage to make a UIImage. This image shows OK in UIImageView. I also use UIImageWriteToSavedPhotosAlbum to save this gray scale image to photo album. But when I open iphone native Photo app, this image is not shown correctly.
    Anyone has the same experience?
    Thanks,
    fm

    Post Author: JeffI
    CA Forum: Older Products
    Because I am sure other people will encounter this issue, I will post the solution here...The issue lies in what program is associated with .bmp files. In my specific case the customer had PhotoSuite 4 by Roxio associated with opening bmp files.  I am not sure exactly why (perhaps it doesn't support drag-and-drop?) but if you create a .reg file and import this it should fix the problem. The bolded part is the important part. Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT][HKEY_CLASSES_ROOT\*]"InfoTip"="prop:Type;DocAuthor;DocTitle;DocSubject;DocComments;Write;Size""QuickTip"="prop:Type;Size""AlwaysShowExt"="""TileInfo"="prop:Type;Size"[HKEY_CLASSES_ROOT\.bmp]@="Paint.Picture""PerceivedType"="image""Content Type"="image/bmp"[HKEY_CLASSES_ROOT\.bmp\OpenWithList][HKEY_CLASSES_ROOT\.bmp\OpenWithList\MSPaint.exe]@=""[HKEY_CLASSES_ROOT\.bmp\OpenWithProgids]"Paint.Picture"=hex(0):

  • Need help for style not displaying correctly in chm

    I’m using RoboHelp HTML version 8.  RH8 is dropping a style from my stylesheet.  The style appears to be applied correctly when I view a topic (the HTML file) directly with either IE or Firefox browser, and it appears correctly when I view the topic with the “Item View” feature in RH8 (the eyeglasses icon).  However, in the compiled HTML help output from RH, the style is not correct.  The style in question is a class of style (“desc” for descriptions) for a subset of table data. The “desc” class should have the data in the cell left justified, and the cell width should be 50%.  The main parent style for table data (centered text, cell width varies) seems to be applied instead, and the child style for descriptions is not applied.  Below I've included a screen shot of a table page as it looks in Item Viewer, then the same page as it appears in the CHM, and finally the style sheet in its original state before being added to RH.
    Here are things I’ve checked for:
    ·         The project is large, with over 6300 topics and a compiled chm of 5560 KB.  RH crashes when I try to apply style sheets or master pages to multiple topics from the Topic List.  However, I created a much smaller test project with 122 topics and still get the dropped style.
    ·         The style sheets were created outside of RH, and are also used for presenting the same content over the web outside of RH.  The styles display fine in the other context through a browser.  I have not modified the style sheet in RH, but I have opened it in RH.  I’ve also tried deleting and re-copying the style sheet into the project.
    ·         There is another set of styles applying to the tables, for table rows.  There is a “tr” class for the heading and classes for rotating background colors.  These child styles appear correct with no problems.  Every row in a table belongs to a child class of row styles.  In the case of table data styles, most cells require the parent “td” style and only a subclass require the child “desc” style.  It’s the “desc” style that isn’t showing up in the chm.  Is this a clue?
    ·         Multiple style sheets per topic.  Apparently only one style sheet can be used per topic.  In my project, I have two types of topics, called schema pages and table pages, with a style sheet for each.  The same master page is used for both types.  The master page uses the tables style sheet.  Therefore, the tables topics (the ones with the dropped style) use only one style sheet, but it is specified in both the master page and the topic itself.   Is this a problem?
    ·         Reviewing the style sheet in RH.  When I inspect the style sheet through RH’s Project Manager, the table data and table row styles appear under “Other” and not under “Table.”  Is this a clue?
    The special formatting of the description cells in our table-heavy project is essential.  I’ve spend days trying to troubleshoot this problem and would appreciate any help anyone can offer.

    Hi jensei,
    Thanks for that. When I took that screenshot - bizarrely those cells all had exactly the same html. I can't easily prove that now as I have tinkered with that test page quite a lot since. I started thinking maybe I could do something "clever" with table styles to save me the joyless task of manually editing all tables in my project. In the end I gave up and decided to devote a couple of hours to going through and reformatting all tables with a font that was the same size and of a similar type face to the rest of the page. Obviously not an option in your monster project, but it worked for me.
    I've seen so many random results here that I can't get my head around what exactly is going wrong - for me the issue seems connected with style = none in a table.
    Anywhere else on the page, style = none yields text with font = Tahoma 10pt.
    But in the table cells that text sometimes rendered ok in CHM, but often it would randomly appear far larger.
    So for me the cure was to format all tables with font = arial 10pt (rendered result is similar, but somehow different enough to stop the erroneous size rendering).
    That's as far as I got - as usual with time being very precious, I've had to curb my geekiness and crack on.
    Cheers,
    Andy

  • Fluid Grid Layout Div's not snapping correctly?

    Hello, how come my fluid grid layout div's are not snapping correctly?
    Here is a picture:
    As you can see, the div tag "iphone1" is halfway in the other column. Shouldn't it be snapping to the nearest column? My mobile layout snaps perfectly fine but my tablet and desktop do not. Is it because my div tag "iphone1" is in another fluid grid layout tag "main-body"> Can you not place div's inside of div's with id's?
    I would appreciate any help as I am sure I am doing something wrong that can easily be fixed.
    Also, it is possible to change the number of columns you want for each design view after creating the page? For example, I have 20 columns in desktop view, it is possible to change to 16 if I wanted to?
    Thanks in advance!

    Hi dhint4,
    Hope things are working out for you while using new Fluid Grids.
    To answer your question around nesting of elements :
    12.2 upgrade of DW fully supports the Nesting of different fluid elements within other fluid element.
    Infact it also supports insertion of non-fluid(normal) element within fluid elements.
    This was not available in 12.0 release.
    Only caveat while nesting is not to apply same class on both Child and Parent unless the the width of both is 100%.
    Also, it is possible to change the number of columns you want for each design view after creating the page? For example, I have 20 columns in desktop view, it is possible to change to 16 if I wanted to?
    Currently its not possible to change the number of columns on the fly. We already have couple of feature request to support the same.
    Please feel free to add your vote by creating a feature request @ :https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Kindly revert if you have any issues or concerns.
    Cheers,
    Puneet

  • Theme and Template not importing correctly

    I have exported the theme and template file. At the import site the template and theme did not install correctly.
    I can see that it is using the same theme as the source environment, but it will not appear.
    Any ideas?

    You've got two issues going on.
    One- never put anything besides the .dwt template files in
    the Templates
    folder.
    Also- the paths need to work IN the template.
    The images aren't showing here:
    http://www.und.edu/dept/art/Templates/MAIN.dwt
    So dw is making wrong paths to them in the child pages.
    Use the "browse to file" dialog box to pick the images.
    And if any of them are in the Templates folder, use the Dw
    files panel to
    move them.
    Second issue:
    Your dw "site" is defined to a subfolder of the domain,
    /dept/art/ as far as
    i can guess. But you've used site root relative paths in the
    Template. Site
    root relative paths start with a leading /slash. It tells the
    browser to
    start from the domain name's root level.
    Only use Document Relative paths if the site is defined to a
    subfolder of a
    domain. (look for the pulldown in the bottom of the browse to
    file dialog
    box)
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • SiteMinder Authentication Realm has NOT been correctly configured and...

    Hi All,
    When I set the realm (associated with the authentication provider) as UNPROTECTED, I see the following in my AUWebAgent.log (authentication web agent log):
    [31 Aug 2006 16:19:07,050] [main] [INFO] Configuration: Support for TP cookies is : ENABLED.
    [31 Aug 2006 16:19:07,050] [main] [INFO] Configuration: DefaultAgentName: bppttest.micron.com.
    [31 Aug 2006 16:19:07,051] [main] [INFO] Configuration: FilterDomainName: DISABLED
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Creating caches ..
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Configuration: No Cache Timeout specified. Default is 600 seconds
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Configuration: No Resource Cache Size specified. Default is: 0
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Configuration: No Authentication Cache Size specified. Default is: 0
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Configuration: No Authorization Cache size specified. Default is: 0
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Configuration: Auditing is DISABLED
    [31 Aug 2006 16:19:07,051] [main] [DEBUG] Configuration: Caching for anonymous users is DISABLED
    [31 Aug 2006 16:19:07,053] [main] [DEBUG] The SiteMinder Resource Manager is checking if resource "/smauthenticationrealm" is Protected.
    [31 Aug 2006 16:19:07,129] [main] [INFO] Resource "/smauthenticationrealm" is NOT Protected.
    [31 Aug 2006 16:19:07,129] [main] [ERROR] The SiteMinder Authentication Realm has NOT been correctly configured and is unavailable.
    Additional info:
    Using SiteMinder 5.5 on WebLogic 8.1 sp5
    When & if I set all my realms as protected then I am unable to startup my servers and get the folowing error:
    We are trying to setup (as in intergrate SiteMinder with Savvion) SiteMinder v2 with weblogic 8.1 sp 5. We have appropriately included the references to variours siteminder related jars as per Netegrity's ASA document. We aren't using any webserver, instead wewould be using launching page (which be a protected resource). The following is the installation, configuration, and testing information related to various siteminder components:
    SiteMinder Identity Asserter (IA) - installed, configured & tested successfully.
    SiteMinder Authentication Provider - installed, configured & test result -> Unsuccessful.
    SiteMinder Authorziation provider - installed, configured & test result -> Unsuccessful.
    Has anyone seen anything similar to the following? My guess on the above is that it looks like it is trying initialise siteminder stuff every time we start each of the servers(admin, ejb and portal). Since the initialisation happens for the 1st time) when the admin server is started, an error is thrown complaining about not being to initialise when we start either portal or ejb after that. If this is true then is there a way around this problem?
    The Admin Server starts fine. But when we try to start either of the ejb or portal server, we get the following error:
    <Aug 16, 2006 4:03:01 PM MDT> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.MarshalException: failed to marshal invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String ;); nested exception is:
            java.io.NotSerializableException: com.netegrity.siteminder.weblogic.sspi.auth.a9]
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.MarshalException: failed to marshal invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String ;); nested exception is:
            java.io.NotSerializableException: com.netegrity.siteminder.weblogic.sspi.auth.a9]
    at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:225)
    at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:283)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doATN(SecurityServiceManagerDelegateImpl.java :581)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:420)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm (SecurityServiceManagerDelegateImpl.java:700)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:733)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize (SecurityServiceManagerDelegateImpl.java:876)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:734)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:821)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
    at weblogic.Server.main(Server.java:32)
    >
    <Aug 16, 2006 4:03:01 PM MDT> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.MarshalException : failed to marshal invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;); nested exception is:
            java.io.NotSerializableException: com.netegrity.siteminder.weblogic.sspi.auth.a9 ]>
    The WebLogic Server did not start up properly.
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.MarshalException: failed to marshal invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String ;); nested exception is:
            java.io.NotSerializableException: com.netegrity.siteminder.weblogic.sspi.auth.a9]
    at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:225)
    at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:283)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doATN(SecurityServiceManagerDelegateImpl.java :581)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:420)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm (SecurityServiceManagerDelegateImpl.java:700)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:733)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize (SecurityServiceManagerDelegateImpl.java:876)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:734)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:821)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
    at weblogic.Server.main(Server.java:32)
    Reason: weblogic.security.service.SecurityServiceRuntimeException : [Security:090371]Problem instantiating Authentication Provider weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [java.rmi.MarshalException: failed to marshal invoke(Ljavax.management.ObjectName ;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;); nested exception is:
            java.io.NotSerializableException: com.netegrity.siteminder.weblogic.sspi.auth.a9]
    Any help would be appreciated.
    Regards,
    Prashant

    but it just says it cannot repair due to another program being installed.
    I'd like to have a closer look at that error message please.
    Generate the error message again. While the error message box is open, hold down the Alt key and hit the PrtSc key. Paste the screenshot into an image file (using a program like Paint), and save the file.
    Start a reply here and click the wee camera icon at the top of the reply window. Click "Choose file", browse to the image file, select the file and click "Open". Now click "Insert file" to insert the screenshot into the reply.

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • 10g exporting to CSV using client_text_io is not working correctly.

    I have an odd issue which i could do with some help with. I run an function that exports to CSV based on an pre defined record group.
    This has been working fine for many months with various customers. Recently a new customer used it and they have 28k rows in his record group and the export is actually not exporting correctly.
    The record group has a record count of 28331.
    The CSV produced has only 3756 in my CSV file. These are the last 3756 records in the Record group so its as if its overwriting the data as it goes yet all smaller datasets work
    FUNCTION fun_export_csv (vgraphid NUMBER, p_filename VARCHAR2)RETURN BOOLEAN IS
      out_file                      client_text_io.file_type; 
         i                                             NUMBER;
      lv_line              VARCHAR2(5000);
    BEGIN
    rg:=populate_group('RG11_EXP');               
    synchronize;
    lv_line:= ('"GIN","Gin Date","PO Num","PO Required Date","Mat Num","Mat Description","Supplier Part No","On Time Delivery(Yes-1, No-0)"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    For i in 1..get_group_row_count('RG11_EXP') Loop--this count is 28331
    lv_line:= ('"'||get_group_number_cell('RG11_EXP.col1', i )                 ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.grn_date', i )                 ||'"'|| ',' ||'"'||                                          
         get_group_number_cell('RG11_EXP.po', i )       ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.daterqd', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.item_no', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.desc', i )                    ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.part_no', i )               ||'"'|| ',' ||'"'||
         get_group_number_cell('RG11_EXP.ontime', i )                    ||'"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    END LOOP;     
    client_text_io.FCLOSE(out_file);
    RETURN TRUE;          

    Hello,
    Try to insert a "synchronize" instruction from time to time:
    i  pls_integer := 1;
    Loop
      If mod(i, 500) = 0 Then
         synchronize;
      End if ;
      i := i + 1 ;
    End loop;
    ...<p>But keep in mind the the CLIENT_TEXT_IO generate a lot of network traffic, so it is better and faster to generate the file on the A.S., then after transfer it to the client machine.</p>
    Francois

  • Microsoft Outlook 2010 The delegates settings were not saved correctly. Cannot activate Send-on-behalf-of list. You do not have sufficient permission to perform this operation on this object.

    I am trying to assign delegation to a user and I receive the following message.
    The delegates settings were not saved correctly.  Cannot activate Send-on-behalf-of list.  You do not have sufficient permission to perform this operation on this object.
    We are using 2010 for the server and client.  There are only specific mailboxes that this is happening for after being migrated from Lotus Notes.  The user can use their mailfile fine however it is just the delegation that appears corrupted somehow. 
    I'm not sure how to fix this.  I have checked the access through the security tab in ad and that looks fine.
    Any help would be appreciated.

    I did some more digging and I solved it.
    This would be the solution:
    In Active Directory Users and Computers
    -Click on VIEW
    -Click on ADVANCE FEATURES  (this is important otherwise you won't see
    the complete list in the next steps)
    -Click on the USERS container
    -Find the problem user's account
    -Right mouse the account and click on PROPERTIES
    -Click on the SECURITY tab
    -In the top box, click on the SELF account
    -In the bottom portion of the screen make sure the READ PERSONAL
    INFORMATION  & WRITE PERSONAL INFORMATION  should both be checked for
    ALLOW
    If you can compare the permissions for 'SELF' with another user you probably should set them accordingly to be safe. I noticed that for the user where setting delegates (SOB) did
    not work, more than those 2 permissions were missing.
    Good luck!
    David

  • Some fonts are not shown correctly in LabVIEW 2012

    I found a bug related with fonts in LabVIEW2012 f3 KR.
    - When I select NI7SEG in font selection dialog, right font is not shown in the example box.
    - Draw text at point.vi shows same problem for some fonts while other fonts are working.
    I reported it to Korean NI. As far as I know, this was not reported in previous versions and I couldn't find any related documents in Google. 
    So, here I would like to know whether it is related with only Korean version. Please let me know if English version is OK. 
    * OS: Windows 7 32bit KR

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • Umlauts are not displayed correctly in different programs

    Hello!
    I live in germany, but my locale is set to "en_US.UTF8" because I like to have everything in english.
    I do not have any problems with umlauts on the machine, but when I connect with sFTP oder Samba to it, the umlauts in files are not displayed correctly.
    Look at this example
    The upper word is how it looks in "ssh putty" (=locally on the machine), the bottom one is from "filezilla" (from my windows host)
    This is my locale
    locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    When I create a file "asd_aöü" locally on the machine (with the help of ssh - putty), it looks fine, but when I connect by samba or filezilla again the umlauts are not displayed correctly.
    Do you understand my problem? What can I do?
    Thanks!
    Last edited by cyberius (2011-02-19 10:12:19)

    Did you check the locale settings on your Windows machine?

Maybe you are looking for