Thread synchronize with GUI controls

I need to modify some GUI controls (append text to JTextArea) from my custom thread..
Javadoc say that the method append of JTextArea is thread-safe, but if I call it from my thread the application go in blocking-state
So I try to use, SwingUtilities.invokeLater but when I try to append some text to JTextArea, the application go in blocking-state..
How can I do for synchronize method call from my thread to main thread..?
Thanks..

This is my code:
private void WriteDebugSafe(final String str)
          Runnable WriteText = new Runnable()
     public void run()
     debug.append(str+"\n");          
     SwingUtilities.invokeLater(WriteText);                    
After the call to invokeLater.. the application go in blocking-state.
This appened sometimes.. NOT systematically..

Similar Messages

  • Replication / synchronization with MaxDB using Windows

    Hi,
    is there somewhere a tutorial how to use replication / synchronization with MaxDB using Windows?
    I found information about the Synchronization Manager but it seems that it's no more available for Download.
    The Database Studio description points out that it will be useable for MaxDB 7.7 and upper versions,
    but I can't also find V7.7 anywhere for download...
    So do I need and where can I get it?
    Thanks,
    Andre

    Hi Wolgang,
    thanks for your support - this is the output:
    C:\Program Files\sapdb\indep_prog\bin>Exception in thread "main" java.lang.Unsat
    isfiedLinkError: no swt-win32-2128 in java.library.path
            at java.lang.ClassLoader.loadLibrary(Unknown Source)
            at java.lang.Runtime.loadLibrary0(Unknown Source)
            at java.lang.System.loadLibrary(Unknown Source)
            at org.eclipse.swt.internal.Library.loadLibrary(Library.java:104)
            at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:42)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.eclipse.swt.internal.Library.getPlatform(Library.java:49)
            at org.eclipse.swt.internal.Library.loadLibrary(Library.java:83)
            at org.eclipse.swt.internal.Callback.<clinit>(Callback.java:31)
            at org.eclipse.swt.SWT.getPlatform(SWT.java:2227)
            at org.eclipse.swt.SWT.<clinit>(SWT.java:2368)
            at org.eclipse.jface.action.ActionContributionItem.<clinit>(ActionContri
    butionItem.java:60)
            at org.eclipse.jface.action.ContributionManager.insertAfter(Contribution
    Manager.java:268)
            at com.sap.sdb.syncMan.gui.SyncManGUI.drawMSG_LRU(SyncManGUI.java:1422)
            at com.sap.sdb.syncMan.gui.SyncManGUI.createMenuManager(SyncManGUI.java:
    428)
            at org.eclipse.jface.window.ApplicationWindow.addMenuBar(ApplicationWind
    ow.java:223)
            at com.sap.sdb.syncMan.gui.SyncManGUI.<init>(SyncManGUI.java:230)
            at com.sap.sdb.syncMan.gui.SyncManGUI.main(SyncManGUI.java:821)
    Thanks,
    Andre

  • Problem with GUI in applet

    Hai to all,
    I am having a problem with GUI in applets
    My first class extends a JPanel named A_a
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    public class A_a extends JPanel
    JButton jb;
    JTextArea text;
    public A_a()
    setLayout(new FlowLayout());
    jb=new JButton("Click me");
    //add(jb);
    text=new JTextArea(5,20);
    add(text);
    public void text_appendText(String aa)
    System.out.println("I AM IN A_a");
    text.append(aa);
    text.revalidate();
    revalidate();
    /*public static void main(String ags[])
    A_a a = new A_a();
    JFrame frame=new JFrame();
    frame.getContentPane().add(a);
    frame.pack();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    frame.setSize(200,200);
    frame.show();
    and then I am using other class B_b which is an applet carries a exitsing panel (A_a) inside it .
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class B_b extends JApplet
    public A_a a;
    public void init()
    a=new A_a();
    getContentPane().add(a);
    public void text_appendText(String aa)
    final String aaa =aa;
    new Thread(new Runnable()
    public void run()
    a=new A_a();
    a.setBackground(new java.awt.Color(255,200,200));
    System.out.println("I AM IN B_b");
    a.text.append(aaa);
    a.text.revalidate();
    getContentPane().remove(a);
    resize(500,500);
    }).start();
    and the I am using the second applet C_c in which by performing a button action the old panel A_a should get removed and replace the new panel D_a (which is not here )in the applet B_b with all other components(namely button , text fields etc)
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.util.*;
    public class C_c extends JApplet implements ActionListener
    JButton jbt;
    JTextArea jta;
    public void init()
    getContentPane().setLayout(new FlowLayout());
    jbt=new JButton("Click me");
    jbt.addActionListener(this);
    getContentPane().add(jbt);
    jta=new JTextArea(5,20);
    getContentPane().add(jta);
    public void actionPerformed(ActionEvent ae)
    Enumeration e = getAppletContext().getApplets();
    Applet applets = null;
    while(e.hasMoreElements())
    applets=(Applet)e.nextElement();
    if ( applets instanceof B_b)
    System.out.println("I AM CLASS C_c");
    ((B_b)applets).text_appendText(jta.getText());
    ((B_b)applets).remove());
    ((B_b)applets).getContentPane().add(D_d);
    both the applets C_c and B_b are in same browser page
    How can i achive that pls help .

    Just to make the code readable...
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    public class A_a extends JPanel
    JButton jb;
    JTextArea text;
    public A_a()
    setLayout(new FlowLayout());
    jb=new JButton("Click me");
    //add(jb);
    text=new JTextArea(5,20);
    add(text);
    public void text_appendText(String aa)
    System.out.println("I AM IN A_a");
    text.append(aa);
    text.revalidate();
    revalidate();
    /*public static void main(String ags[])
    A_a a = new A_a();
    JFrame frame=new JFrame();
    frame.getContentPane().add(a);
    frame.pack();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    frame.setSize(200,200);
    frame.show();
    }and then I am using other class B_b which is an applet carries a exitsing panel (A_a) inside it .
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class B_b extends JApplet
    public A_a a;
    public void init()
    a=new A_a();
    getContentPane().add(a);
    public void text_appendText(String aa)
    final String aaa =aa;
    new Thread(new Runnable()
    public void run()
    a=new A_a();
    a.setBackground(new java.awt.Color(255,200,200));
    System.out.println("I AM IN B_b");
    a.text.append(aaa);
    a.text.revalidate();
    getContentPane().remove(a);
    resize(500,500);
    }).start();
    }and the I am using the second applet C_c in which by performing a button action the old panel A_a should get removed and replace the new panel D_a (which is not here )in the applet B_b with all other components(namely button , text fields etc)
    import javax.swing .*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.util.*;
    public class C_c extends JApplet implements ActionListener
    JButton jbt;
    JTextArea jta;
    public void init()
    getContentPane().setLayout(new FlowLayout());
    jbt=new JButton("Click me");
    jbt.addActionListener(this);
    getContentPane().add(jbt);
    jta=new JTextArea(5,20);
    getContentPane().add(jta);
    public void actionPerformed(ActionEvent ae)
    Enumeration e = getAppletContext().getApplets();
    Applet applets = null;
    while(e.hasMoreElements())
    applets=(Applet)e.nextElement();
    if ( applets instanceof B_b)
    System.out.println("I AM CLASS C_c");
    ((B_b)applets).text_appendText(jta.getText());
    ((B_b)applets).remove());
    ((B_b)applets).getContentPane().add(D_d);
    }

  • Problems with remote control and user accounts - error 1759?

    We're running:
    -XP Pro SP2 clients with Zen SP1 IR3a agent, 4.91 SP2 Netware client.
    -We are NOT running Middle Tier.
    -Novell servers are running Netware 6.5 SP7, E-directory 8.7.3.10b or 8.8.
    -Zen server is also SP1 IR3a.
    We have no problem using remote control on workstation objects. We are having intermittent issues with remote controlling user objects. When the issue occurs, we receive the following error, "Error 1759: The selected user is not logged in on any workstations" even though the user is in fact logged in. After some more research, it appears that the "networkAddress" attribute of the user object is blank so we feel that this is the root cause. My question is what would cause the networkAddress attribute to randomly not update? For instance we had a user (verified his login) who we could not remote via the user object (workstation object worked). We checked his networkAddress attribute and found that it was empty. User rebooted and logged in again and his networkAddress attribute populated, and then we could remote control him via the user object. Now this isn't always the case after a reboot. There doesn't appear to be any pattern to when the networkAddress attribute does or does not update. In fact, this particular user has a laptop so he boots it up fresh every morning yet he was not showing a network address when he logged in initially today.
    We've followed the troubleshooting steps in Novell Documentation without any success. Is there anything else that we might be missing, especially with respect to getting the networkAddress attribute to update? We ran a DSreport on that attribute and found about 500 out of a total of 1500 users had no networkAddress. Some of those are sure to be legitimate but that number is much too high for the number of people that should be in the office.
    I've read some older threads on the subject but none of them really provide a firm solution. Also most of the older threads reference Middle Tier which we are not using.
    Thanks in advance.

    > 4.91 SP2 Netware client.
    You could try this TID:
    "A user will no longer have an entry in their "Network Address" attribute
    even though they are logged into the eDirectory Tree."
    http://www.novell.com/support/viewCo...1262&sliceId=1
    "Resolution"
    "This was fixed in the 4.91 SP3 client. NWFS.SYS was modified so that it
    will check the monitor connection on a reconnect and if it is not connected
    close the connection and try and get a new monitor connection to the tree.
    Prior to the 4.91 SP3 client, the solution is to have the user login again
    so that it issues the NDS Finish Login request again that will populate
    Network Address again."
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • Need help in SQL Queries using GUI controls or variables

    Hello, all
    I have a big problem (I have already had with Visual Basic a few mounths ago) with Java while writing my SQL Queries.
    I would like to know how I must do to use variable data or GUI control data in my SQL Query to select only some records.
    Here, my first Query that works without any problem (no WHERE clause !!!) :
    Statement requeteBedes = connectBedes.createStatement();
    ResultSet resultatSeries = requeteBedes.executeQuery("SELECT * FROM Series");
    initComboBoxSeries(resultatSeries);the method "initComboBoxSeries" fills a JComboBox with all the names of the series in my database.
    Here comes my problem.I would like to use the value of the selected "series" in the JComboBox to search in another table of the same Database. I made another statement but it returns a Null ResultSet :
    ResultSet resultatSearchAlbumsFromSeries = requeteBedes.executeQuery("SELECT * FROM bandes_dess WHERE  ser_nom = '" + strComboBoxSeriesSelected + "' "); The variable strComboBoxSeriesSelected contains the value of the selected line in the combobox with all the series, filled after the first query that is here above and that works very well.
    Could some one help me and tell me how I must use variables or GUI controls values in my SQL Queries or tell me if there is a place where I could find an explanation of that kind of problems (like more "advanced SQL Queries", as the ones currently used in all the Learning Java 2 books)
    Thank you all for your help.
    Christian.

    executeQuery() will never return null. At least that's what the spec says. You are probably catching an exception (probably a syntax error caused by a single quote in strComboBoxSeriesSelected) and ignoring it. Or do you mean the ResultSet contains no rows?
    Anyway, to use parameterized queries, take a look at PreparedStatements. Your code should look like this using PreparedStatement:Statement requeteBedes = connectBedes.prepareStatement("SELECT * FROM bandes_dess WHERE  ser_nom = ?");
    requeteBedes.setString(1, strComboBoxSeriesSelected);
    ResultSet resultatSeries = requeteBedes.executeQuery();Alin.

  • ABAP HR How to create infotype with table control in it like Infotype 0008

    Hi Experts.
    I need help from u guys. My client requirement is to create custom infotype just like 0008 infotype which contain table control to save amount and wage types. I try to create infotype with table control using PM01, but that table control is in display mode only, i almost search every where to create custom infotype with table control but what ever threads in forum all are they unanswered and most of the threads for creating infotype. But i already done with infotype , but my main problem is table control.
    If any one have some suggestion for this please share with me.
    <removed by moderator> i am looking for positive reply.
    Edited by: Thomas Zloch on Aug 30, 2011 12:54 PM

    Hi
    I've created several infotypes with a Table Control and it is always the same story. You have to create a custom Z table to store the Table Control data (if you can have unlimited records), so in the PSXXXX structure you need to add a TABNR field to link the PAXXXX table and the Z one, just like the type table OM infotypes.
    Then in your code you have to control every possible operation, INS, MOD, DEL... and update the Z table accordingly (the standard code won't do that)
    If your TC fields appear in display mode, take a look at the Groups 1 and 3 in your fields, the must be set with the usual values for a PA infotype.
    If you have more questions, just ask,
    Regards

  • Need help for thread synchronization

    Hi guys,
    i got some problem with the thread synchronization.
    actually my code is like,
    class myClass
    public static void main()
    PvsIdentify identifyThread = new PvsIdentify(this); //Child trd 1
    PvsPolling pollingThread = new PvsPolling(this); //Child trd 2
    identifyThread.start();
    pollingThread.start();
    synchronized(this) {
    try {
    this.wait();
    } catch (Exception ex) {
    ex.printStackTrace();
    /// Code to follow based on the ouput from these two child threads
    if( ! identifyThread.getOutput() =="")
    my requirement is ,
    the identifyThread is giving an output. so after the completion of that child thread only IF condition should execute.
    but for me the IF condition is getting execute before the complete execution of identifyThread.
    what may be the problem.
    thanx in advance.---------------Subbu

    my problem is, that child thread identifyThread will do some process and final throw the output in a JOption dialog box to the main window.
    if we use join for the child thread then that dialog box will not come the the main window.
    This is my code,
              businessCancel = false;
              pollingCancel = false;
              String userName = txtInputId.getText();
                    //CHECK FOR EXISTANCE OF USER NAME
                    boolean isNameExist=false;
                    int isString = this.isValidName(userName);
                    try { // This code block invokes the PalmsSEIPort:isNameExist operation on web service
                        palmsecuresdk.sample.Palms palms = new palmsecuresdk.sample.Palms_Impl();
                        palmsecuresdk.sample.PalmsSEI _palmsSEIPort = palms.getPalmsSEIPort();
                        isNameExist = _palmsSEIPort.isNameExist(userName);
                        System.out.println("The result of isNameExist is==="+isNameExist);
                    } catch(javax.xml.rpc.ServiceException ex) {
                        // TODO handle ServiceException
                    } catch(java.rmi.RemoteException ex) {
                        // TODO handle remote exception
                    } catch(Exception ex) {
                        // TODO handle custom exceptions here
                    if(isNameExist==false)
                        if (isString==1) {
                            // CHECK FOR EXISTANCE OF USER PALM DATA
                            //Identify process
                            setComponentEnabled(false);
                            PvsIdentify identifyThread = new PvsIdentify(this);
                            PvsPolling pollingThread = new PvsPolling(this);
                            identifyThread.start();  
                            pollingThread.start();
                            btnCancel.requestFocus();
                            synchronized(this) {
                                    try {
                                        System.out.println("the owner of this thread is "+this.getOwner());
                                         identifyThread.join();
                                         pollingThread.join();
                                        System.out.println("Main thread is sleeping now");
                                    } catch (Exception ex) {
                                        ex.printStackTrace();
                            this.notifyAll();
                            System.out.println("After the identify process over");
                            String isPalmExist = identifyThread.getFinalResult();
                            while(isPalmExist.equals(""))
                                isPalmExist = identifyThread.getFinalResult();
                                if(!isPalmExist.equals(""))
                                    this.notifyAll();
                            System.out.println("The identify result is "+isPalmExist);
                            if(isPalmExist.equalsIgnoreCase("Identify Failed"))
                                // To display PROCEED MsgBox
                                identifyThread.result=102;
                                identifyThread.resultNotify(isPalmExist);                           
                                // Execute enrollment process.
                                setComponentEnabled(false);
                                PvsEnroll enrollThread = new PvsEnroll(this, this, userName);
                                //PvsPolling pollingThread = new PvsPolling(this);
                                enrollThread.start();
                                pollingThread.start();
                                btnCancel.requestFocus();                           
                            else
                                identifyThread.result=101;
                                identifyThread.resultNotify(isPalmExist);
                        else {
                                // Guidance display(ID is not correct.)
                                String message = langFileAccessor.getLangInfo(
                                                                        PvsLangFileAccessor.KEY_GUIDANCE_ILLEGALID);
                                dispGuidance(message);
                                initState();
                    else
                        String message = langFileAccessor.getLangInfo(PvsLangFileAccessor.KEY_GUIDANCE_EXISTINGID);
                        dispGuidance(message);
                        initState();
                    }

  • Memory Leak with Picture Control

    Hi all
    There is bug with Picture Control
    When you insert you picture data in loop into the shift register, memory leak
    Can somebody to prevent this bug?
    Run attached example and look at Task Manager
    Attachments:
    Picture Memory Leak Example.vi ‏24 KB

    I believe David properly called the cause of this memory consumption.
    In reply # 52 of thsi thread,
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=5&jump=true
    I posted an example that inserts 130 FP object images in a picture and moves them around (it is a random walk where each object is assigned a letter and the program terminates when all of the letters required to spell out "Hello World" wander into the trap at the bottom.)
    A snippet of the code follows.
    A) Start with a blank picture
    B) Inster all of the images
    C) show the updated image.
    Other links to LV Picture control examples can be found in this thread.
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
    Ben
    Message Edited by Ben on 01-14-2007 08:58 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Many_Objects.JPG ‏24 KB

  • Send output to gui control

    I tried searching for an answer but sometimes forming the question can be an issue...
    I want to make a GUI with two controls, say period and frequency. I want it to be possible for the user to specify either one of these two values, and the other value is calculated and shown in the other control. So if I choose a period of 500us, the frequency control is updated to show 2kHz. Or if I choose a frequency of 2kHz, the period control is updated to show 500us. I can enter input into either control and the other is updated with the corresponding result.
    Is there a way to do this? If so, how?

    You just need to write to a local variable of the control in your value change event.

  • Synchronize with database is disabled after migration

    Hi
    I have migrated from JDev 11.1.1.4 – JHs 11.1.1.3.35 to JDev 11.1.2.3 – JHs 11.1.2.1.28 and solved the problems and now everything is fine but one thing. I am not able to synchronize the entity objects with database! When I right-click on an entity object the “Synchronize with Database” option is disabled. This happens only for the applications that JHs is enabled for them. For normal ADF applications it works after migration. What is the matter?
    Cheers,
    Ferez

    Ferez,
    have you seen this thread in the ADF forum, Cannot 'Synchronize with database' my entity objects ?
    It mentions the existence of a bug that may cause this (though no reference number), and one user posted a workaround they were using.

  • Synchronize with Database on Entity Object re-creates Association

    hi
    Please consider this example application created using JDeveloper 11.1.1.4.0
    at http://www.consideringred.com/files/oracle/2011/MovedAssociationApp-v0.01.zip
    It has an EmpManagerFkAssoc Association which has been moved from the "movedassociationapp.model.entities" package to the "movedassociationapp.model.assoc" package (using the "Refactor - Move..." context-menu option).
    When selecting "Synchronize with Database..." in the context-menu of the Employees Entity Object, and clicking the "Synchronize All" button, this results in JDeveloper re-creating the EmpManagerFkAssoc Association,
    as shown in the screencast at http://screencast.com/t/l7jaoU2C
    - (q1) Is this Association re-creation intended behaviour (if so, please explain, if not, which bug number)?
    many thanks
    Jan Vervecken

    Ferez,
    have you seen this thread in the ADF forum, Cannot 'Synchronize with database' my entity objects ?
    It mentions the existence of a bug that may cause this (though no reference number), and one user posted a workaround they were using.

  • Help starting with GUI

    I am working on programing a program for my department, Meteorology, at school so that I can download images every five minutes. I have a version of this that works in the command line, but I want to add a gui to it now. I am not really sure how to start. I know that I need a drop down box with all of the radar sites and their call numbers, and a radio button so they can select the type of image that the user wants to download. These two parts then make up the URL of the image so I can download it. I tried makeing a gui by making each one of these components a separate class. Basically, I am wondering if I should start off by making the GUI all one class, or if each peice of it should be its own class that then gets tied together in a different part of the program. any help with GUI would be great as I am new to this step of programing having only worked in Java command line and Fortran 77. Thanks
    Neil

    Hi,
    You can create a GUI from within one class. GUIs can be created for applications or applets. The following code is a simple GUI for an application using Swing components. You may need JDK 1.3.1_6.
    To make your GUI functional you would need to add or implement Event Handlers preferably using the delegation model. Each control(buttons, textfield, etc) you need to define the event object(button clicks), the event source(button), and an event handler(understands the event and executes code that processes the event).
    import javax.swing.*;
    public class Customer
    //Variable for frame window
    static JFrame frameObj;
    static JPanel panelObj;
    //Variables of labels
    JLabel labelCustName;
    JLabel labelCustCellNo;
    JLabel labelCustPackage;
    JLabel labelCustAge;
    //Variables for data entry controls
    JTextField textCustName;
    JTextField textCustCellNo;
    JComboBox comboCustPackage;
    JTextField textCustAge;
    public static void main(String args[])
         //Creating the JFrame object
         frameObj = new JFrame("Customer Details Form");
         //Setting the close option
         frameObj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         //Making the frame visible
         frameObj.setVisible(true);
    frameObj.setSize(300,300);
    Customer customerObj = new Customer();
    public Customer()
         //Add appropriate controls to the frame in the constructor
         //Create panel
         panelObj = new JPanel();
    frameObj.getContentPane().add(panelObj);
    //Setting close option
    frameObj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and add the appropriate controls
    //Initializing labels
    labelCustName = new JLabel("Customer Name: ");
    labelCustCellNo = new JLabel("Cell Number: ");
    labelCustPackage = new JLabel("Package: ");
    labelCustAge = new JLabel("Age: ");
    //Initializing data entry controls
    textCustName = new JTextField(30);
    textCustCellNo = new JTextField(15);
    textCustAge = new JTextField(2);
    String packages[] = {"Executive", "Standard"};
    comboCustPackage = new JComboBox(packages);
    //Adding controls for customer name
    panelObj.add(labelCustName);
    panelObj.add(textCustName);
    //Adding controls for cell number
    panelObj.add(labelCustCellNo);
    panelObj.add(textCustCellNo);
    //Adding controls for Package
    panelObj.add(labelCustPackage);
    panelObj.add(comboCustPackage);
    //Adding controls for customer age
    panelObj.add(labelCustAge);
    panelObj.add(textCustAge);

  • Is that possible to change parent of GUI Controll?

    Hi,
    I have to change parent of GUI Control. I have a Splitter with two Controls (b.e. 1 x 2 )and would like to delete one. After that I would like to change grid ( 1 x 1 ) and show in this the second view. But after I have called splitter->set_grid(1 1) my container which include second  view is no more valid, I have to get new one from splitter but how can I bind it with my view?
    Regards
    Bogdan

    Hello Bogdan
    If you look at the parent attribute of different classes (e.g. CL_GUI_ALV_GRID, CL_GUI_ALV_TREE) then it is a public, <b>READ-ONLY</b> instance attribute. Based on this property I would assume that it is not possble to switch the parent of a GUI control.
    Regards
      Uwe

  • BUG: JDev 10.1.3 ADF BC Synchronize With Database not available

    I am using the "Business Components from Tables" wizard to create my ADF model.
    If I specify a package that is 3 nodes deep (a.b.model) then JDev creates a structure that looks like this...
    Applications
    --MyApplication
    ----Model
    ------Application Sources
    --------a.b.model
    If I specify a package that is 4 nodes deep (a.b.c.model) then JDev creates an extra level in the Navigator like this....
    Applications
    --MyApplication
    ----Model
    ------Application Sources
    --------a.b.c
    ----------model
    The side effect of this extra level is that the "Synchronize With Database" option is no longer available when bringing up the context menu for either the "a.b.c" node or the "model" node.
    Bob

    The problem appears to not be with the Wizard.
    Instead, the problem is tied to the Navigator Flat Level control.
    If I increase the flat level to a point where the entire package appears in a single Navigator node, then the "Synchronize with Database" context menu item is available.
    If the flat level is decreased to a point that the package splits into multiple Navigator nodes then the context meny item is no longer available.
    Bob

  • Help me in tab strip with table control

    hi,
    can any body give me the idea regarding my requirment please urgent.
      my requirment is i created tab strip in main screen (111) and i created table control in subscreen (12).and i created one parameters with gui screen.if i execute that selection-screen it call tab strip .i am getting.but my requrment is when i execute selection-screen by default it will call tab strip with table data (recards) in to the table control fields which is in display mode.
    please help me urgent.
    with warm regards.
    khadar.

    yes u can create it.
    This is a sample program to create a tabstrip.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
    PARAMETERS: USER(10) TYPE c,
                PWD(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 500.
    SELECTION-SCREEN BEGIN OF SCREEN 600 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-010.
    PARAMETERS: BUSNO(10) TYPE c,
                BUSNAME(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF SCREEN 600.
    SELECTION-SCREEN BEGIN OF SCREEN 700 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-010.
    PARAMETERS: TNO(10) TYPE c,
                TNAME(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN END OF SCREEN 700.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK sub FOR 10 LINES,
                        TAB (10) LOGIN USER-COMMAND LOGIN,
                        TAB (10) BUS USER-COMMAND BUS,
                        TAB (10) TRAIN USER-COMMAND TR,
                      END OF BLOCK sub.
    INITIALIZATION.
    LOGIN = 'LOGIN'.
    BUS = 'BUS'.
    TRAIN = 'TRAIN'.
    SUB-DYNNR = 500.
    SUB-PROG = SY-REPID.
    AT SELECTION-SCREEN.
    CASE SY-UCOMM                  .
    WHEN 'LOGIN'.
         SUB-DYNNR = 500.
    WHEN 'BUS'.
         SUB-DYNNR = 600.
    WHEN 'TR'.
         SUB-DYNNR = 700.
    ENDCASE.

Maybe you are looking for

  • Multiple drag-and-drop completely broken in Mail 4.2

    I've noticed this since I first installed Snow Leopard, but it's now becoming too annoying to ignore. If I try to select multiple emails from my MobileMe inbox and drag them all at once to a folder in the MobileMe account, it only drags a single emai

  • Report error: ORA-01403: no data found.

    Hi, I was getting a following error and not able to figure it out. Here what I have: I have a page where I have 3 regions and out of them, there are 2 Html conditional regions and one SQL updatable report. Also, I have a validation to validate a fiel

  • Check table not working for custom field in tcode CAT2.

    Hi Guys, I have created a ZCITY table for Plant which has below  3 field Code (5 Char) u2013 Key field Spras (2 char ) Language u2013 Key field Description (40 Character) I have added a custom field ZZCITY in CI_CATSDB  with check table as ZCITY. Now

  • Is there any way too see all data on all enteties an user owns.

    Hi all, Is there any way to see all data an user owns in CRM2011? Maybe an custom report or view?

  • IPhone case cause bad reception ?!

    I bought a cute snap on case online and when i use it i have very low reception sometimes and then sometimes it will have good reception. Has anyone had any similar problems with an iphone case? My case i metallic so i'm not sure if that is of any si