Problem using IntelliJ GUI

I used IntelliJ GUI desiger to draw a panel to be used in an applet.
It worked the first time applet is inited. Then I refresh IE, then I had the following exception:"IntelliJ java.lang.IllegalArgumentException: layoutState cannot be null"
I kept refreshing IE, still sometime it works, some time it doesn't.
But if I used ctrl-F5 to refresh IE, then applet is inited again.
What's wrong here? Is there something wrong about the .form file?

I used IntelliJ GUI desiger to draw a panel to be used in an applet.
It worked the first time applet is inited. Then I refresh IE, then I had the following exception:"IntelliJ java.lang.IllegalArgumentException: layoutState cannot be null"
I kept refreshing IE, still sometime it works, some time it doesn't.
But if I used ctrl-F5 to refresh IE, then applet is inited again.
What's wrong here? Is there something wrong about the .form file?

Similar Messages

  • Problem using a GUI, a loop and a different thread for the loop

    Hi everyone!
    First of all sorry if my post is in the wrong forum.
    I'm designing a client-server project to allow users to comunicate with each other, and I have a problem in the client class. I'm using the UDP transport protocol, and I'm not allowed to use TCP. The thing is, each client is allowed to send and receive a message at any time, so by pushing a button the "sending event" triggers and sends it, and in order to receive i've launched a receiving process in another different thread, so the sending procces wouldn't be blocked.
    This is the code of the client class, called Conversacion:
    package mymessenger;
    import javax.swing.*;
    import java.net.*;
    import java.io.*;
    import java.lang.*;
    import java.awt.*;
    import java.util.*;
    public class Conversacion extends javax.swing.JFrame {
        private InetAddress MaquinaServidor;
        private int PuertoServidor;
        private DatagramSocket MiSocket;
        private DatagramPacket PaqueteSalida;
        byte [] BufferEntrada= new byte[1024];
        private DatagramPacket PaqueteEntrada= new DatagramPacket (BufferEntrada,BufferEntrada.length);
        byte [] BufferSalida;
        int ack=0;
        int puerto_contrario;
        String direccion="192.168.1.102";
        String direccion_contraria;
        String destinatario_completo="";
        String nombre_destinatario="";
        String nombre_local="";
        String mensaje_recibido=""; // This is the variable I want to use every time a client receives a message
        boolean salir=false;
        public Conversacion()
            initComponents();
            esperar();
    @SuppressWarnings("unchecked")
    // Here would come the generated code by Netbeans, which is not relevant in this case
    private void enviarActionPerformed(java.awt.event.ActionEvent evt) {                                     
       // This is the sending event that calls a function to send the message to the server, i'll post it in another message
        void enviar (String mens) 
            // Function used to send the message to the server, i'll post it in another message
        void esperar() // Here's the problem (I think)
            new Thread(new Runnable() // I launch it in a new thread, so I don't block "enviar"
                public void run() // At first, the client sends some message to the server, so the server knows some data of the client. Go to the while() command please
                    String respuesta="";
                    try
                        MiSocket= new DatagramSocket();
                        MaquinaServidor= InetAddress.getByName(direccion);
                        PuertoServidor=7777;
                        String comando="ENVIAME LOS DATOS AQUI, A LA CONVERSACION";
                        byte[] na={(byte)(ack%2)};
                        comando= (new String (na))+comando;
                        BufferSalida = comando.getBytes();
                        PaqueteSalida = new DatagramPacket(BufferSalida,BufferSalida.length,MaquinaServidor,PuertoServidor);
                        segsend(PaqueteSalida);
                        ack++;
                        System.out.println("Estoy esperando un mensaje del servidor");
                        segreceive(PaqueteEntrada);
                        String retorno = new String(BufferEntrada, 1,PaqueteEntrada.getLength()-1);
                        int pos= retorno.indexOf("(");
                        int pos2=retorno.indexOf("]");
                        int pos3=retorno.indexOf("Ð");
                        nombre_destinatario=retorno.substring(0,pos-1);
                        destinatario_completo=retorno.substring(0,pos2+1);
                        direccion_contraria=retorno.substring(pos2+1,pos3);
                        nombre_local=retorno.substring(pos3+1);
                        setTitle(destinatario_completo+" - CONVERSACIÓN");
                        segreceive(PaqueteEntrada);
                        respuesta = new String(BufferEntrada, 1,PaqueteEntrada.getLength()-1);
                        puerto_contrario = Integer.parseInt(respuesta);
                        while (!salir) // Here begins the infinite loop I use to receive messages over and over again
                            segreceive(PaqueteEntrada); // I use segreceive that is kind of the same as "receive". No big deal about this
                            mensaje_recibido = new String(BufferEntrada, 1,PaqueteEntrada.getLength()-1); // Every time a client receives a message, I want to store it in the variable "mensaje_recibido"
                            int pos4 = mensaje_recibido.indexOf(":");                     // This next 4 commands are not relevant
                            String auxiliar=mensaje_recibido.substring(pos4+2);
                            if (auxiliar.equals("FINALIZAR CONVERSACION"))
                                setVisible(false);
                            SwingUtilities.invokeLater(new Runnable() // Now I want to asign the value of mensaje_recibido (the message I just received) into texto_total, a Swing text area
                                public void run()
                                    String auxi=texto_total.getText();
                                    if (auxi.equals(""))
                                        texto_total.setText(mensaje_recibido); // if the text area was empty, then then i put into it the message
                                    else
                                        texto_total.setText(auxi+"\n"+mensaje_recibido); // if it's not, then i put the message in the next line of the text area
                            Thread.sleep(1000);
                    catch (Exception e3)
                        System.out.println(e3);
            }).start();
        }The communication starts and one user is able to send all the messages he wants to the other one, but when the other wants to send one to the first user, the first user receives a message with the same character over and over again that looks like an square ■. Again, this problem comes when a user that already sended a message, and wants to receive one for the first time (and next times). I searched in these forums all day and so far I couldn't fix it.
    This problem happens in the receiver client, not in the sender client and not in the server. I already looked into that and those things are doing what they have to. I would be really really grateful if somebody could tell me which is the problem or how to fix this, because I'm becoming nuts.
    Now I'm going to post the function "enviar" which sends the message, and the content of "enviarActionPerformed" which calls "enviar".
    Again, excuse me if this is the wrong forum for this question. and sorry for my English too.

    This is the rest of the code, though I don't think the problem is here, maybe by pushing the sending button it causes the receiving problem:
    private void enviarActionPerformed(java.awt.event.ActionEvent evt) {                                      
            String mensaje=texto.getText();
            mensaje=nombre_local+" dice: "+mensaje;
            texto.setText("");
            String auxiliar=texto_total.getText();
            if (auxiliar.equals(""))
                texto_total.setText(mensaje);
            else
                texto_total.setText(auxiliar+"\n"+mensaje);
            enviar(mensaje);
        void enviar (String mens)
            String respuesta="";
            try
                MiSocket= new DatagramSocket();
                MaquinaServidor= InetAddress.getByName(direccion);
                PuertoServidor=7777;
                BufferedReader Teclado= new BufferedReader(new InputStreamReader(System.in));
                BufferEntrada = new byte[1024];
                PaqueteEntrada = new DatagramPacket (BufferEntrada,BufferEntrada.length);
                BufferSalida=new byte[1024];
                String comando="RETRANSMITIR MENSAJE";
                byte[] na={(byte)(ack%2)};
                comando= (new String (na))+comando;
                BufferSalida = comando.getBytes();
                PaqueteSalida = new DatagramPacket(BufferSalida,BufferSalida.length,MaquinaServidor,PuertoServidor);
                segsend(PaqueteSalida);
                ack++;
                String puerto= Integer.toString(puerto_contrario);
                int pos = mens.indexOf(":");
                String auxiliar=mens.substring(pos+2);
                comando=mens+"-"+direccion_contraria+"*"+puerto;
                byte[] nb={(byte)(ack%2)};
                comando= (new String (nb))+comando;
                BufferSalida = comando.getBytes();
                PaqueteSalida = new DatagramPacket(BufferSalida,BufferSalida.length,MaquinaServidor,PuertoServidor);
                segsend(PaqueteSalida);
                ack++;
                if (auxiliar.equals("FINALIZAR CONVERSACION"))
                    setVisible(false);
            catch(Exception e)
                System.out.println(e);
        }I'm gonna keep working on it, if I manage to fix this I'll let you know. Thanks a lot!

  • Dev. on J2ME CDC PersonalProfile 1.0 using intelliJ 5.1

    hi all!
    I'm about to develop an App for Pocket PC that offers GUI.
    Therefor I'm using the PP 1.0, wich offers AWT.
    By the way, the VM on my PDA is Esmertecs JBed CDC Personal Profile 1.0.
    It is 100% compliant with the Sun Spec. mentioned in this topics title.
    (said to be)
    My Problem now is ,that my IDE, which is intelliJ 5.1 does to not support this
    Profile by some plugin, or IDE Setting - I've contacted the jetBrains to find out.
    So here is my Question:
    Is there a way that I can stick to my beloved IDE?
    Somewhere in the Forums here i found a entry where somebody was
    working on exactly on the same topic, AND using intelliJ !!
    This one was describing in short something like:
    "All you need are the right jars for setting up the execution environment,
    then U can use the IDE you want".
    This is what i was looking for, even before i read this entry.
    Jar files, that contain the restricted API, according to CDC PP 1.0.
    Thereby i could set the execution environment in my IDE
    conforming to exactly the one on the PDA. ((cross)compiling against ...)
    Esmertec is not supporting me with such jar.
    jetBrains cannot support me with that jar, but proposed to extend existing plugIns myself ....
    So i'm currently lost with that topic, although i've browsed many Forums for days.
    Can someone please help?
    kind regards in advance
    matthias
    P.S.: Maybe there's another solution instead of the jar thing,
    i've not yet taken into consideration ...

    hi ove
    first of all: thanX for your initiative - i think what you described is the right stuff for my purpose, too.
    But as mentioned, i' would have liked to stick to my intelliJ IDE.
    You really described a complete tools set for developing,
    & I appreciate this very much.
    But .... believe it or not, i found a different solution myself (at last):
    Building a "customized SDK " by using parts of the CDC PP 1.0 conforming jars in btclasses.zip from:
    http://java.sun.com/products/personalprofile/download.html
    this contains a runtime environment i need.
    (i know, it's said to be for linux, but it works for me on Win XP, too)
    Until now that works fine ... i can stay with intelliJ.
    greetz
    matthias
    P.S.: sorry bout removing the duke dollars, but i did so before i started editing
    this to answer myself and for everybody with the same problem.
    Saw your entry just afterwards.
    But anyway - who cares for money..... ;-)

  • Unable to Print Purchase order automatically using SAP GUI for JAVA

    Hi SAP gurus,
    Some of the PC's in our company use windows and some LINUX. Therefore we use two types of SAP GUI. One for windows and the other one JAVA. PO approval was set to print automatically. In a windows setting, there are no problems with this setup. But in SAP GUI for JAVA, no print outs are produced and no error messages are displayed. I am using SAP GUI for JAVA version 7.10 ver 6. and I use Front end printing for linux access method G.
    please help,
    gungertz

    hi gungertz,
    You can use U type access method for printing SAP document using linux desktop.
    Please refer to my blog posting here (http://sapbasis.wordpress.com/2007/08/23/print-sap-documents-using-linux/)
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • Problem using namespace of XML docs gerenrated by  XMLForm

    Hi community!
    I am facing a problem using namespace within a XSL stylsheet. Let me describe my problem:
    I am using the SAP XMLFormsBuilder within the SAP EnterprisePortal in order to provide a HTML based form for creating and editing specific XML documents. The data in the generated documents is finally presented as HTML using XSL Transformation.
    In the XMLFormsBuilder you define the Schema of the XML document and the HTML GUI of the form. The Schema document looks like below (extract):
    <?xml version="1.0" encoding="utf-8"?>
    <schema targetNamespace="http://www.xmlspy.com/schemas/orgchart"
            xmlns="http://www.w3.org/2001/XMLSchema"
            xmlns:xyz="http://www.xmlspy.com/schemas/orgchart" Version="6.3.0">
      <element name="commodity"
               default=""
               minOccurs="1"
               maxOccurs="1"
               ns="p2p"
               xmlns:p2p="http://www.portal.p2p.com">
        <complexType>
          <sequence>
            <element name="administrative_information"
                     default=""
                     minOccurs="1"
                     maxOccurs="1"
                     ns="p2p">
              <complexType>
                <sequence>
                  <element name="creation_date"
                           default=""
                           minOccurs="1"
                           maxOccurs="1"
                           type="date"
                           ns="p2p"/>
    As far as I understand, each element defined in the Schama belongs to the namespace "p2p" and this is exactly what I want.
    The XML document generated by the form looks like below (extract):
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="show_card.xsl"?>
    <commodity xmlns:xf="http://www.sapportals.com/wcm/app/xmlforms"
               xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance"
               xsi:noNamespaceSchemaLocation="/etc/xmlforms/P2PCategoryCard_TEST/P2PCategoryCard_TEST-Schema.xml">
      <administrative_information>
        <creation_date>2005-07-04</creation_date>
    Consequently, the file "show_card.xsl" is the responsible XSLT stylesheet, which looks like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
                    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:p2p="http://www.portal.p2p.com">
      <xsl:output method="html"/>
      <xsl:template match="p2p:commodity">
        <html>
        <body>
          <h2>XSLT Test</h2>
          Creation Date: <xsl:value-of select="p2p:administrative_information/p2p:creation_date"/>
        </body>
        </html>
      </xsl:template>
    </xsl:stylesheet>
    The problem in the XSLT stylesheet is, that I want to access the XML document elements using their namespace. And this is exactly what does not work for me. On the other hand, if I remove the reference to the namespace:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
                    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:p2p="http://www.portal.p2p.com">
      <xsl:output method="html"/>
      <xsl:template match="commodity">
        <html>
        <body>
          <h2>XSLT Test</h2>
          Creation Date: <xsl:value-of select="administrative_information/creation_date"/>
        </body>
        </html>
      </xsl:template>
    </xsl:stylesheet>
    the stylesheet works fine, but for some technical reasons, which I don't want to explain here, I have to use the namespace when accessing the XML document elements.
    For technical reasons, I cannot change the format of the Schema document and also cannot change the format of the generated XML document. The only file I can change and control is the XSLT stylsheet.
    My question is now, in the case described above, if there is any way to use the namespace in the sytlesheet when accessing the XML elements?
    Any help is appreciated.
    Cheers,
    Adam Kreuschner

    duggal.ashish wrote:
    3. Some XML files contain a "iso-8859-1" character with character code 146 which appears like apostrophes but actually it is : - &#146; and the problem is that words like can&#146;t are shown as can?t by database.http://en.wikipedia.org/wiki/ISO8859-1
    Scroll down in that page and you'll see that the character code 146 -- which would be 92 in hexadecimal -- is in the "unused" area of ISO8859-1. I don't know where you got the idea that it represents some kind of apostrophe-like character but it doesn't.
    Edit: Actually, I do know where you got that idea. You got it from Windows-1252:
    http://en.wikipedia.org/wiki/Windows-1252
    Not the same charset at all.

  • Problem using relative sizes on a HTMLtext

    Hi
    I have a problem using relative sizes on a HTMLtext on Flash
    ActionsScript
    2.0
    Something like:
    htmltext= '<font size="+5">TITLE</font>Text
    Praragraph...'
    (+5 in normal HTML means is 5 points bigger than the standard
    text.)
    I create the the textArea i set the size and everything if I
    do it by
    actionscript everything works fine except when i setup the
    htmltext, the
    text disspears so I need to re-set the embeded font with:
    myTextFormat.font = Varfont;
    textBox.embedFonts = true;
    textBox.setTextFormat(myTextFormat);
    But using this lines I lose the previous size. that i
    assigned before when i
    created the textarea. And goes to a standard size... dont
    know why, i am
    using a different TextFormat.....
    And If i want to use the size i was using , all the text
    becomes the same
    size (but is the size that I want)...
    If I create the text area manually using the gui, it works
    well.
    ¬_¬
    >-------------------------------------------------------------------------------------<
    The main problem is... why the the text dissapears when i set
    a new html
    text???
    >-------------------------------------------------------------------------------------<
    Thanks.

    1. Really there are a few functions that i skiped yesterday:
    3. The font is linked and embeded in library.
    public function setHTMLText(texto:String):Void {
    textBox.html = true;
    textBox.htmlText = texto;
    public function setEmbedFont(__font) {
    _font = __font;
    _embed = true;
    setTextStyle(__font);
    public function setTextStyle(__font:String, __bold:Boolean,
    __underline:Boolean, __italic:Boolean) {
    var myTextFormat:TextFormat = new TextFormat();
    myTextFormat.font = _font;
    textBox.setTextFormat(myTextFormat);
    public function setTextSize(__size:Number) {
    var myTextSize:TextFormat = new TextFormat();
    myTextSize.size = _size;
    textBox.setTextFormat(myTextSize);
    Kind of constructor:
    autotext_txt.setTextSize(20);
    //1 if I activate this one the text will dissapear after
    asigning a new
    text. And I will need to apply the embed font again.
    autotext_txt.setEmbedFont("Arial2");
    autotext_txt.setHTMLText(This is a text (big text) | <font
    size="-5"
    color="#dddddd"> Small Text</font>');
    autotext_txt.setEmbedFont("Arial2");
    Why dont u have a try?
    Thanks,
    J
    "kglad" <[email protected]> escribió en
    el mensaje
    news:elo6bk$pu3$[email protected]..
    > 1. where's Varfont defined?
    > 2. htmtext should be htmlText.
    > 3. have you defined a linkage id for a library font?

  • Problem using a JTabbedPane in my application

    Hello, everybody.
    I am developping a application using the GUI editor NetBeans IDE 3.6 and I have some questions-problems.
    I encounter some problems with my JTabbedpane used in my application. I use a JTabbedPane with seven JPanel. On the first JPanel, I have some different components (JLabel, JComboBox, JTextField, JButton, List, ...) and it does not create any problem when I start my apllication.
    On the second JPanel of the JTabbedPane used, I separeted it with some other JPanel to differenciate the types of data's displayed in that tab and I also have a lot of different components on it ((JLabel, JComboBox, JTextField, JButton, List, ...).
    My first problem is that, when I start my application, the List component on the second Jpanel of my JTabbedPane appears above all the other tabs of my JTabbedPane until I click on the tab that contains that List. Once I have clicked on the second JPanel (that contains the List that makes me some problems), everythings becomes OK and it does not appear anymore above the other tabs (JPanel) of my JTabbedPane. I thing that it is a question a properties wrongly set, but I don't know the one I have to correct to eliminate that probem.
    The second problem is how to go from one JPanel (tab) to another JPanel (tab)with programming ??? For example, I would like to go to the second JPanel (tab) while double-clicking on a record present in a List in the first JPanel(tab). How can I do that ???
    A great thank you in advance for your help.
    Christian.

    For the seconds question, use the method setSelectedIndex() or setSelectedComponent(), whichever is more appropriate.
    The first problem I have also seen sometimes with tabbed panes. Can't remember how I corrected it though. Guess you could make sure the panels backgrounds are set to be opaque.

  • Problem With SAP GUI for HTML iView

    Hi All,
    I have created a transaction iView(SAP GUI for HTML) for the T code SE12, when I view the iview, it get loaded for the first time and if I log out and when i again login to the portal and view the transaction iview it is not getting loaded. If I clear the cache(By pressing Ctrl+F5) the same iview get loaded.
    Could any one help me in solving this problem
    Regards
    Sivaprasath

    Hi Shiva,
    For SAP transaction iViews better to use SAP GUi for Windows option instead of SAP GUI for HTML.
    Hope it helps for you..
    Cheers
    Phani

  • Problem using mplayer [solved]

    Hi - I'm trying to run mplayer through its gui gmplayer.
    It doesn't run either from my normal user account or from root.
    From my user account I get this -
    process:2900): Gtk-WARNING **: This process is currently running setuid or setgid.
    This is not a supported use of GTK+. You must create a helper
    program instead. For further details, see:
    http://www.gtk.org/setuid.html
    Refusing to initialize GTK+.
    From root I get -
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    vo: couldn't open the X11 display (:0.0)!
    MPlayer GUI requires X11.
    mplayer itself seems to be OK so I guess it is a problem with the GUI. I've googled the error messages, searched the forums and looked at the wiki - but I haven't found what to do! Can anyone help please?
    Last edited by otter (2009-01-26 19:53:11)

    mhh.. to the first output it gave: try an "ls -l /usr/bin/gmplayer" and see if it has right permissions and owner ships, also has NO suid.

  • Problem with SAP GUI / Screen Painter

    Hi
    I use SAP Gui 6.4 with patchlevel 14 (tried with patchlevel 12 as well) when I try to start the screen painter I always get that error message: "Password in Router string. Cannot start grapical screen painter".
    What could be the problem ?
    thanx for help
    Arne

    Hi Steve,
    please go to http://service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200615320200005408&V=MAINT&TA=ACTUAL&PAGE=SEARCH and download patch 60.
    This patch contains all the fixes from previous patches.
    Patch 59 was pulled off the website because of a serious bug.
    Best regards,
    Christian

  • Problems use ImageIcon

    I am having a problem using ImageIcon. I can see the images in
    the AppletViewer, but not in an actual Applet. I get a NullPointer
    Exception. It seems to be a problem with the Class or ClassPath finding the image.
    Here is a break down of my files and the packages they are in:
    mygui/gui/project -> contains the java project file
    mygui/gui -> contains the gui.jar (created)
    mygui/gui/guiFramework -> contains MyApplet.java (extends JApplet) and
    MyWindow.java (extends JFrame)
    mygui/gui/images -> contains image mypicture.gif
    MyWindow references the images found in mygui/gui/images
    Here is the code from MyWindow:
    package guiFramework;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class MyWindow extends JFrame {
    private static Container content;
    private ImageIcon myIcon = new
    ImageIcon(ClassLoader.getSystemResource("images/mypicture.gif"));
    private Image myImage = myIcon.getImage();
    public MyWindow()
    super("My Sample");
    super.setIconImage(myImage);
    super.setDefaultCloseOperation(/*DISPOSE_ON_CLOSE*/3);
    JButton iconButton = new JButton();
    ImageIcon buttonIcon = new
    ImageIcon(ClassLoader.getSystemResource("images/mypicture.gif"));
    //Set the container as "this"
    content = getContentPane();
    iconButton.setIcon(buttonIcon);
    content.add(iconButton, BorderLayout.CENTER);
    setSize(1024, 768);
    setVisible(true);
    Here is the code from MyApplet:
    package guiFramework;
    import javax.swing.*;
    import java.awt.*;
    public class MyApplet extends JApplet
    public MyApplet()
    try
    UIManager.setLookAndFeel(new com.sun.java.swing.plaf.windows.
    WindowsLookAndFeel());
    catch (Exception e)
    MyWindow myWindow = new MyWindow();
    public void init()
    getRootPane().putClientProperty("defeatSystemEventQueueCheck",
    Boolean.TRUE);
    Any help would be greatly appreciated. The code above is from a
    sample I have put together to try to figure out what the problem is.
    It is not my actual program (which is very big). It does reproduce the
    problem though.
    - M

    MyWindow.getClass().getResource(..); is not a function of JFrame.
    If I try MyWindow.class.getResource("images/mypicture.gif"); I can no longer see the image even in the AppletViewer.
    java.lang.NullPointerException
         at javax.swing.ImageIcon.<init>(ImageIcon.java:134)
         at guiFramework.MyWindow.<init>(MyWindow.java:10)
         at guiFramework.MyApplet.<init>(MyApplet.java:19)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Class.java:237)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:484)
    I am using a JAR file to hold all the information, but my images are in a subdirectory. I think I am still not looking in the correct place for the images?

  • Problem using File sharing  in a small office network

    I have a problem using File sharing on an Imac and Macbook Pro.
    My office has a small network running Windows Small office file server 2003. I have one Windows 2000 PC connected to it and 3 Macs, an 2.4 gHz Intel iMac running Leopard 10.5.6 , a MBP running the same and a Mac Mini running 10.5.
    From the Finder Shared window of the Mac Mini, I can see all the computers on the network. It also used to be the case for the iMac, but the MBP could never see the Windows PC’s, not the server or the Win2000. This wasn’t a big problem as I was communicating between the Macs and using the shared printer on the iMac.
    On Monday Jan 19 the iMac was suddenly unavailable to the other 2 Macs. It was working normally on the Friday. The iMac can access the Mac Mini and copy files to it. The Mac Mini can see the iMac but cannot access it. Even trying to connect as, ends in a failed connection. I have tried rebooting, turning File sharing off and then on again to no avail.
    The iMac now also cannot see the Windows PC’s which it previously could.
    To get files from the MBP for printing, I now copy it to the Mac Mini and acces the folder from the iMac, a very tedious procedure. I don’t know why this happened and am scared that the Mac Mini is going to do the same thing.
    All three computers are also running VMware 2.0 with Windows XP pro, and from VMware the server is visible on all the computers.
    Any help will be much appreciated, I live in a small town in South Africa and the local computer suppliers have no knowledge of the Macs.
    I think that the problem with the iMac may have started after a software upgrade to 10.5.6 but I am not entirely sure.
    Thank you
    ajdk

    Well, you're current method sounds pretty good. But if you want to user a file server, hey go ahead.
    What you want to do when you centralize project files is to keep track of which one is the newest and becareful not to overwrite files with the same name. So you either have to set up individual spaces on the server (separate AFP/FTP folders maybe), or you'll need to run a file checkout service.
    The individual space is cheaper, but it's not much of a difference from backing up to the network drive. Since you have Gigabit connections, you might even opt to save ALL the user files on the server instead of just the project files.
    If you want to run a file checkout service, there's two approaches. You can run a service that can host any kind of file, or you can run a version control system for each kind of application (Photoshop, Word, etc.). Please notice, that as you read further and further along, the methods become more and more expensive and complicated. Once you get to this point, it will be necessary to purchase or build software in addition to the Mac OS X Server package.

  • Huge problem using apple mail while sending email to a group...

    Hey - I am quite confused... apple mail has huge problems using groups with about 150 addresses when writing and sending an email... the writing of emails is nearly impossible. Once the group name is inserted in the addressline (address book in iCloud!), apple mail uses nearly 100% CPU and further writing is nearly impossible. When sending such an email, all addresses are suddenly visible - though the box is NOT checked and the addresses should be hidden... what can I do? I use this feature (sending mails to groups) on a daily basis and cannot accept visible addresses...
    Greetings and sorry for inconvenient english...
    Christof

    How about next time you send to the group, cc yourself, or include yourself in the group. Then receive the email on the iphone, you can "reply all" in order to send to the group. If you use an imap account, you can make a new folder, call it something like "groups", and save different group emails there for the next time you need to "reply all".

  • Hi. I am just about to move from the UK to Kuwait. Will I have any problems using my iPhone 4 and able to join a local carrier using this device please?

    Hi. I am just about to move from the UK to Kuwait. Will I have any problems using my iPhone 4 and able to join a local carrier using this device please?

    If your phone is locked to a particular carrier, you must contact them to request they unlock it. Once they've taken care of that and you've followed the instructions to complete the unlock process, you will be able to use the phone elsewhere.
    ~Lyssa

  • Problem using integrated WLS in jDeveloper 11.1.2.1.0

    Hey there,
    I got a problem using the integrated WLS from the jDeveloper 11.1.2.1.0.
    After trying to deploy an ADF Web Application on the integrated WLS, I get the following log message:
    LOG
    +[Waiting for the domain to finish building...]+
    +[11:26:04 AM] Creating Integrated Weblogic domain...+
    +[11:28:13 AM] Extending Integrated Weblogic domain...+
    +[11:30:06 AM] Integrated Weblogic domain processing completed successfully.+
    *** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    +/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/bin/startWebLogic.sh+
    +[waiting for the server to complete its initialization...]+
    +.+
    +.+
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    +.+
    WLS Start Mode=Development
    +.+
    CLASSPATH=/home/robin/bin/wls/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/robin/bin/wls/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_oepe100/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/robin/bin/wls/jdk160_29/lib/tools.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic_sp.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.jar:/home/robin/bin/wls/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/webservices.jar:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/robin/bin/wls/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/robin/bin/wls/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/robin/bin/wls/wlserver_12.1/server/lib/xqrl.jar
    +.+
    PATH=/home/robin/bin/wls/wlserver_12.1/server/bin:/home/robin/bin/wls/modules/org.apache.ant_1.7.1/bin:/home/robin/bin/wls/jdk160_29/jre/bin:/home/robin/bin/wls/jdk160_29/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin
    +.+
    +*  To start WebLogic Server, use a username and   *+
    +*  password assigned to an admin-level user.  For *+
    +*  server administration, use the WebLogic Server *+
    +*  console at http://hostname:port/console        *+
    starting weblogic with Java version:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
    Starting WLS with line:
    +/home/robin/bin/wls/jdk160_29/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/robin/bin/wls/wlserver_12.1/server/lib/weblogic.policy -Djavax.net.ssl.trustStore=/tmp/trustStore7618453572230021232.jks -Dhttp.proxyHost=emea-proxy.uk.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|MUELLER-BADY-GENTOO|MUELLER-BADY-GENTOO -Dhttps.proxyHost=emea-proxy.uk.oracle.com -Dhttps.proxyPort=80 -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -Djava.endorsed.dirs=/home/robin/bin/wls/jdk160_29/jre/lib/endorsed:/home/robin/bin/wls/wlserver_12.1/endorsed -da -Dplatform.home=/home/robin/bin/wls/wlserver_12.1 -Dwls.home=/home/robin/bin/wls/wlserver_12.1/server -Dweblogic.home=/home/robin/bin/wls/wlserver_12.1/server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=/home/robin/bin/wls/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain -Djrockit.optfile=/home/robin/bin/wls/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/robin/bin/wls/oracle_common/modules/oracle.ossoiap_11.1.1,/home/robin/bin/wls/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=/home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/oracle/store/gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/robin/bin/wls/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_oepe100/profiles/default/sysext_manifest_classpath:/home/robin/bin/wls/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server+
    +<Feb 10, 2012 11:30:09 AM CET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>+
    +<Feb 10, 2012 11:30:10 AM CET> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>+
    +<Feb 10, 2012 11:30:11 AM CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>+
    +<Feb 10, 2012 11:30:12 AM CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >+
    +<Feb 10, 2012 11:30:15 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>+
    +<Feb 10, 2012 11:30:15 AM CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>+
    +<Feb 10, 2012 11:30:15 AM CET> <Notice> <Log Management> <BEA-170019> <The server log file /home/robin/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log is opened. All server side log events will be written to this file.>+
    Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager saveKeyStore
    WARNING: Failed to save farm keystore. Reason {0}
    Feb 10, 2012 11:30:24 AM oracle.security.jps.internal.keystore.file.FileKeyStoreManager createKeyStore
    WARNING: Failed to save farm keystore. Reason {0}
    oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
    +     at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
    +     at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64)+
    +     at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)+
    +     at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)+
    +     at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)+
    +     at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)+
    +     at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:850)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
    +     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
    +     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
    +     at java.lang.Class.newInstance0(Class.java:355)+
    +     at java.lang.Class.newInstance(Class.java:308)+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
    +     at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
    +     at weblogic.security.SecurityService.start(SecurityService.java:148)+
    +     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
    +     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
    +<Feb 10, 2012 11:30:24 AM CET> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>+
    +<Feb 10, 2012 11:30:24 AM CET> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)+
    +     at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)+
    +     at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)+
    +     at weblogic.security.SecurityService.start(SecurityService.java:148)+
    +     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:293)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:899)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)+
    +     at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)+
    +     Truncated. see log file for complete stacktrace+
    +Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:860)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)+
    +     at java.security.AccessController.doPrivileged(Native Method)+
    +     at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)+
    +     at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)+
    +     Truncated. see log file for complete stacktrace+
    Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06513: Failed to save farm keystore. Reason
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.createKeyStore(FileKeyStoreManager.java:309)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:95)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:73)+
    +     at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:63)+
    +     at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)+
    +     Truncated. see log file for complete stacktrace+
    +>+
    +<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>+
    +<Feb 10, 2012 11:30:24 AM CET> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>+
    +<Feb 10, 2012 11:30:24 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>+
    Process exited.
    */LOG*
    After that, I tried setting permissions for the cwallet.sso file to ugo+rwx, but this leads to the same problems as mentioned above.
    My second try was to setup an external WLS 12c, but it seems to be not yet possible to connect to a WLS 12c from within jDeveloper.
    Do you have any ideas ?
    Thank you in advance for your help.
    Regards,
    Robin

    After debugging the WLS Initialisation with jdb, I recognized that there was some trouble with dependent libraries.
    In the end, I solved my problem by using another OS (Ubuntu 11.10) for development. There, the WLS works out of the box, even with 64-Bit libraries.
    Thank you for your help.
    Regards,
    Robin

Maybe you are looking for

  • Using in operator with bindveriable

    Dear All, i facing proplem when i try to make SQL query using "in" operator but i send value as bind virable example Select emp.emp_id from emp where emp.emp_id in (:pEmpId) but when i execute it and enter value for the bind i didn't get the result .

  • Acrobat's menu disappears when using QApplication even with qt_mac_set_native_menubar(false)

    I am working an Acrobat plugin (SDK acrobat 8) which uses Qt Widgets. It works fine with Qt 4.3.4. After upgrading to Qt 4.6.4 carbon, it is no longer possible to see Acrobat's menu if QApplication is instanciated. int argc = 0; (void)new QApplicatio

  • Multiple plist files for QTX in Pref folder.

    Hi folks, Can you check your Preferences folder ( ~/Library/Preferences) to see if you too have numerous QuickTime Player X plist files? I found 142 files which are suffixed with some garbled letters at the end (com.apple.QuickTimePlayerX.plist.RlLCL

  • Printing Status in PO Document

    Dear expert, How to give printing status "ORIGINAL" for the first print, "REPRINT 01" for secound print etc, in PO document if i have Z sapcript which assign in standard program (SAPFM06P) ? Thanks before. - ely -

  • Updating CPS script tables

    Hi all, Beginner question. What is the syntax/appropriate method to update an entry in a self-defined CPS table? I am able to insert values, but the method/syntax for updating specific columns is not clear. Thanks to some helpful posts I have the fol