Access another infocube in DTP

Anybody know how could I access another infocube/crossing referenc table  in the ABAP routine o DTP?

do you want load to another infocube then it is not possible...
If you want access the data of another infoprovider in the filter section of DTP..then it is possible with ABAP

Similar Messages

  • Exchange User IP - How do I use an Impersonated Exchange Account to Access Another Mailbox

    Hey,
    I am trying to use the Exchange User IP to access another mailbox using an impersonated exchange account. How do I accomplish this?
    I know that the community developed Exchange Mail IP lets me do this but the activities available from that IP is not as powerful as Exchange User IP.
    Please help.
    Thanks,
    Jag

    Hi,
    Have you tried to use powershell New-ManagementRoleAssignment cmdlet.
    To configure impersonation for specific users or groups of users
    https://msdn.microsoft.com/en-us/library/office/dn722376(v=exchg.150).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I access another class in a MembershipRule's Expression

    Hello,
    I want to create an InstanceGroup using Module Microsoft.SystemCenter.GroupPopulator.
    I need to collect all Logical Disks which contain an MS SQL DB Log File.
    I would start as follows:
    <DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
      <RuleId>$MPElement$</RuleId>
      <GroupInstanceId>$Target/Id$</GroupInstanceId>
      <MembershipRules>
        <MembershipRule>
          <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.LogicalDisk"]$</MonitoringClass>
          <RelationshipClass>$MPElement[Name="MSIL!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>     
    <Expression>
            <And>
      <!--
       First Expression
      -->
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <Property>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/Name$</Property>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
      <!--
        How can I access another class's properties ? 
      -->
                    <GenericProperty>$MPElement[Name="SQL!Microsoft.SQLServer.2008.DBLogFile"]/Drive$</GenericProperty>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <HostProperty>
                      <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]</MonitoringClass>
                      <Property>PrincipalName</Property>
                    </HostProperty>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <GenericProperty>$MPElement[Name="SQL!Microsoft.SQLServer.2008.DBLogFile"]/Drive$</GenericProperty>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </And>
          </Expression>
        </MembershipRule>
      </MembershipRules>
    </DataSource>
    In the first expression you "see" my question:
    I want to compare the LogicalDisk's Name Property with the DB Log File's Drive property.
    But how can I access the DB Log File's Drive property in this MembershipRule ?
    Furthermore LogicalDisk and DB Log File must be hosted on the same Windows Computer.
    Would be great if somebody could help.
    Thanks
    Sebastian

    Hi Niki,
    thanks for the idea, but that will not work. $Target/Id$ refers always to the group to be discovered.
    On last week end I was given following idea, hope it will work:
    Step 1
    Collect all the DB SQL Logfile Objects and write computername (PrincipalName?) and Driveletter into a textfile, line by line. Shouldn't be a problem, PowerShell is your friend.
    Step 2
    Read the file from Step 1, build discovery data for each disk drive as object of class "Logical Disk (Server)",
    and then discover the containment-relationships from those Logical Drive(Server) Objects to the InstanceGroup.
    Perhaps I must do it for the OS-Version related Disks, because I need the target classes  of the Logical Disk Freespace monitors. Some more work. "Risks": I donot know the discovery algorithm for the Logical Disk(Server) Objects, but a "deep
    dive" into the MPs should help.
    Thanks to all, who have read.
    I will inform you about progress and success
    sebastian

  • How to access another resource in Groupwise

    Could anyone tell me or direct me to a sample of some code, that shows how to access another resource in Groupwise with VB.
    The main goal is to send a appointmentsfrom another resource by accessing this resource that you have authority from own mailaccount
    or from an account I have access to.
    This so far I have come:
    Dim objApp
    Dim objAccount As Account
    Dim objDraftMsg
    objApp = CreateObject("NovellGroupWareSession")
    ' objAccount = objAccount.ObjType.egwResource
    objAccount = objApp.Login("", "") 'My own account but want to access either the account that owns the resource or from my own
    ' objAccount = objApp.objtype.egwresource("Schema")
    objDraftMsg = objAccount.WorkFolder.Messages.Add("GW.MESSAGE.APP OINTMENT")
    Dim date1 As New Date(2013, 5, 2, 8, 30, 0)
    objDraftMsg.StartDate = date1
    objDraftMsg.Duration = 1.5 / 24 ' duration
    objDraftMsg.OnCalendar = True
    objDraftMsg.Subject.PlainText = "Testar schema" ' Subject
    objDraftMsg.BodyText.PlainText = "Hlsar Giggi" ' Body
    objDraftMsg.Recipients.Add("XX")
    objDraftMsg.Send()
    Thank you un advance
    Giggi

    On 4/30/2013 1:26 PM, giggi wrote:
    >
    > Could anyone tell me or direct me to a sample of some code, that shows
    > how to access another resource in Groupwise with VB.
    >
    > The main goal is to send a appointmentsfrom another resource by
    > accessing this resource that you have authority from own mailaccount
    >
    I don't have time to write code but as I recall you have to PROXY into
    the account. There's a proxy method IIRC that returns an Account from
    which you can send mail if you were granted rights to do so.

  • Accessing Another Window Fault

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Arrays;
    public class PasswordDemo extends JPanel   implements ActionListener {
        private static String OK = "ok";
        private static String HELP = "help";
        private JFrame controllingFrame; //needed for dialogs
        private JPasswordField passwordField;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JTextField jTextField1;
        private javax.swing.JTextField jTextField2;
        public PasswordDemo(JFrame f) {
            //Use the default FlowLayout.
            controllingFrame = f;
            //Create everything.
            passwordField = new JPasswordField(10);
            passwordField.setActionCommand(OK);
            passwordField.addActionListener(this);
            JLabel label = new JLabel("Enter the password: ");
            label.setLabelFor(passwordField);
            JComponent buttonPane = createButtonPanel();
            //Lay out everything.
            JPanel textPane = new JPanel(new FlowLayout(FlowLayout.TRAILING));
            textPane.add(label);
            textPane.add(passwordField);
            add(textPane);
            add(buttonPane);
        protected JComponent createButtonPanel() {
            JPanel p = new JPanel(new GridLayout(0,1));
            JButton okButton = new JButton("OK");
            JButton helpButton = new JButton("Help");
            okButton.setActionCommand(OK);
            helpButton.setActionCommand(HELP);
            okButton.addActionListener(this);
            helpButton.addActionListener(this);
            p.add(okButton);
            p.add(helpButton);
            return p;
        public void actionPerformed(ActionEvent e) {
            String cmd = e.getActionCommand();
            if (OK.equals(cmd)) { //Process the password.
                char[] input = passwordField.getPassword();
                if (isPasswordCorrect(input)) {
                 //   JOptionPane.showMessageDialog(controllingFrame, "Success! You typed the right password.");      
                     //class BasicPanel extends JPanel {
                //          public BasicPanel() {
                               JButton okButton = new JButton("ok");
                               okButton.addActionListener(new ActionListener() {
                                    public void actionPerformed(ActionEvent arg0) {
                                         test2 inputForm = new test2();
                                         inputForm.setVisible(true);
                               add(okButton);
                     class test2 extends javax.swing.JFrame {
                         public test2() {
                             initComponents();
                         private void initComponents() {
                             jPanel1 = new javax.swing.JPanel();
                             jButton1 = new javax.swing.JButton();
                             jButton2 = new javax.swing.JButton();
                             setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
                             jButton1.setText("jButton1");
                             jButton2.setText("jButton2");
                             javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
                             jPanel1.setLayout(jPanel1Layout);
                             jPanel1Layout.setHorizontalGroup(
                                 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(jPanel1Layout.createSequentialGroup()
                                     .addContainerGap()
                                     .addComponent(jButton1)
                                     .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                     .addComponent(jButton2)
                                     .addContainerGap(196, Short.MAX_VALUE))
                             jPanel1Layout.setVerticalGroup(
                                 jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(jPanel1Layout.createSequentialGroup()
                                     .addContainerGap()
                                     .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                         .addComponent(jButton1)
                                         .addComponent(jButton2))
                                     .addContainerGap(174, Short.MAX_VALUE))
                             javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                             getContentPane().setLayout(layout);
                             layout.setHorizontalGroup(
                                 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(layout.createSequentialGroup()
                                     .addContainerGap()
                                     .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                     .addContainerGap(24, Short.MAX_VALUE))
                             layout.setVerticalGroup(
                                 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(layout.createSequentialGroup()
                                     .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                     .addContainerGap(92, Short.MAX_VALUE))
                             pack();
                         }// </editor-fold>
                          * @param args the command line arguments
                         // Variables declaration - do not modify
                         private javax.swing.JButton jButton1;
                         private javax.swing.JButton jButton2;
                         private javax.swing.JPanel jPanel1;
                         // End of variables declaration
               else {
                    JOptionPane.showMessageDialog(controllingFrame,
                        "Invalid password. Try again.",
                        "Error Message",
                        JOptionPane.ERROR_MESSAGE);
                //Zero out the possible password, for security.
                Arrays.fill(input, '0');
                passwordField.selectAll();
                resetFocus();
            } else { //The user has asked for help.
                JOptionPane.showMessageDialog(controllingFrame,
                    "You can get the password by searching this example's\n"
                  + "source code for the string \"correctPassword\".\n"
                  + "Or look at the section How to Use Password Fields in\n"
                  + "the components section of The Java Tutorial.");
         * Checks the passed-in array against the correct password.
         * After this method returns, you should invoke eraseArray
         * on the passed-in array.
        private static boolean isPasswordCorrect(char[] input) {
            boolean isCorrect = true;
            char[] correctPassword = { 'b', 'u', 'g', 'a', 'b', 'o', 'o' };
            if (input.length != correctPassword.length) {
                isCorrect = false;
            } else {
                isCorrect = Arrays.equals (input, correctPassword);
            //Zero out the password.
            Arrays.fill(correctPassword,'0');
            return isCorrect;
        //Must be called from the event dispatch thread.
        protected void resetFocus() {
            passwordField.requestFocusInWindow();
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event dispatch thread.
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("PasswordDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            final PasswordDemo newContentPane = new PasswordDemo(frame);
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Make sure the focus goes to the right component
            //whenever the frame is initially given the focus.
            frame.addWindowListener(new WindowAdapter() {
                public void windowActivated(WindowEvent e) {
                    newContentPane.resetFocus();
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event dispatch thread:
            //creating and showing this application's GUI.
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    //Turn off metal's use of bold fonts
              UIManager.put("swing.boldMetal", Boolean.FALSE);
              createAndShowGUI();
    }Hey there everyone, i am trying to access another window using swing. I am trying to do so via password verification, when the use inputs the right password it should grant them access to the form fillout page which i am building. Problem is that there is something wrong when i input the right password and click "OK". Its not going through and giving me access to the next page. I just need pointers as to what i should fix. Thank you very much.

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Arrays;
    /* PasswordDemo.java requires no other files. */
    public class PasswordDemo extends JPanel
                              implements ActionListener {
        private static String OK = "ok";
        private static String HELP = "help";
        private JFrame controllingFrame; //needed for dialogs
        private JPasswordField passwordField;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        private javax.swing.JTextField jTextField1;
        private javax.swing.JTextField jTextField2;
        private javax.swing.JTextField jTextField3;
        public PasswordDemo(JFrame f) {
            //Use the default FlowLayout.
            controllingFrame = f;
            //Create everything.
            passwordField = new JPasswordField(10);
            passwordField.setActionCommand(OK);
            passwordField.addActionListener(this);
            JLabel label = new JLabel("Enter the password: ");
            label.setLabelFor(passwordField);
            JComponent buttonPane = createButtonPanel();
            //Lay out everything.
            JPanel textPane = new JPanel(new FlowLayout(FlowLayout.TRAILING));
            textPane.add(label);
            textPane.add(passwordField);
            add(textPane);
            add(buttonPane);
        protected JComponent createButtonPanel() {
            JPanel p = new JPanel(new GridLayout(0,1));
            JButton okButton = new JButton("OK");
            JButton helpButton = new JButton("Help");
            okButton.setActionCommand(OK);
            helpButton.setActionCommand(HELP);
            okButton.addActionListener(this);
            helpButton.addActionListener(this);
            p.add(okButton);
            p.add(helpButton);
            return p;
        public void actionPerformed(ActionEvent e) {
            String cmd = e.getActionCommand();
            if (OK.equals(cmd)) { //Process the password.
                char[] input = passwordField.getPassword();
                if (isPasswordCorrect(input)) {
                 //   JOptionPane.showMessageDialog(controllingFrame,
                 //       "Success! You typed the right password.");
                      jLabel1 = new javax.swing.JLabel();
                     jLabel2 = new javax.swing.JLabel();
                     jLabel3 = new javax.swing.JLabel();
                     jTextField1 = new javax.swing.JTextField();
                     jTextField2 = new javax.swing.JTextField();
                     jTextField3 = new javax.swing.JTextField();
                     jLabel1.setText("Name: ");
                     jLabel2.setText("Age: ");
                     jLabel3.setText("Height: ");
                     jTextField1.setText("jTextField1");
                     jTextField2.setText("jTextField2");
                     jTextField3.setText("jTextField3");
                     javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                     getContentPane().setLayout(layout);
                     layout.setHorizontalGroup(
                         layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                         .addGroup(layout.createSequentialGroup()
                             .addGap(23, 23, 23)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                 .addGroup(layout.createSequentialGroup()
                                     .addComponent(jLabel1)
                                     .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                     .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                 .addGroup(layout.createSequentialGroup()
                                     .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                         .addComponent(jLabel2)
                                         .addComponent(jLabel3))
                                     .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                     .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                         .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                         .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                             .addContainerGap(274, Short.MAX_VALUE))
                     layout.setVerticalGroup(
                         layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                         .addGroup(layout.createSequentialGroup()
                             .addGap(23, 23, 23)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                 .addComponent(jLabel1)
                                 .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                 .addComponent(jLabel2)
                                 .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                             .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                 .addComponent(jLabel3)
                                 .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                             .addContainerGap(205, Short.MAX_VALUE))
                     pack();
                } else {
                    JOptionPane.showMessageDialog(controllingFrame,
                        "Invalid password. Try again.",
                        "Error Message",
                        JOptionPane.ERROR_MESSAGE);
                //Zero out the possible password, for security.
                Arrays.fill(input, '0');
                passwordField.selectAll();
                resetFocus();
            } else { //The user has asked for help.
                JOptionPane.showMessageDialog(controllingFrame,
                    "You can get the password by searching this example's\n"
                  + "source code for the string \"correctPassword\".\n"
                  + "Or look at the section How to Use Password Fields in\n"
                  + "the components section of The Java Tutorial.");
         * Checks the passed-in array against the correct password.
         * After this method returns, you should invoke eraseArray
         * on the passed-in array.
        private static boolean isPasswordCorrect(char[] input) {
            boolean isCorrect = true;
            char[] correctPassword = { 'b', 'u'};
            if (input.length != correctPassword.length) {
                isCorrect = false;
            } else {
                isCorrect = Arrays.equals (input, correctPassword);
            //Zero out the password.
            Arrays.fill(correctPassword,'0');
            return isCorrect;
        //Must be called from the event dispatch thread.
        protected void resetFocus() {
            passwordField.requestFocusInWindow();
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event dispatch thread.
        class test2 extends javax.swing.JFrame {
            public test2() {
                initComponents();
            private void initComponents() {
                jPanel1 = new javax.swing.JPanel();
                jButton1 = new javax.swing.JButton();
                jButton2 = new javax.swing.JButton();
                setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
                jButton1.setText("jButton1");
                jButton2.setText("jButton2");
                javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
                jPanel1.setLayout(jPanel1Layout);
                jPanel1Layout.setHorizontalGroup(
                    jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jButton1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton2)
                        .addContainerGap(196, Short.MAX_VALUE))
                jPanel1Layout.setVerticalGroup(
                    jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton1)
                            .addComponent(jButton2))
                        .addContainerGap(174, Short.MAX_VALUE))
                javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                getContentPane().setLayout(layout);
                layout.setHorizontalGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(24, Short.MAX_VALUE))
                layout.setVerticalGroup(
                    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(92, Short.MAX_VALUE))
                pack();
            }// </editor-fold>
             * @param args the command line arguments
            // Variables declaration - do not modify
            private javax.swing.JButton jButton1;
            private javax.swing.JButton jButton2;
            private javax.swing.JPanel jPanel1;
            // End of variables declaration
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("PasswordDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            final PasswordDemo newContentPane = new PasswordDemo(frame);
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Make sure the focus goes to the right component
            //whenever the frame is initially given the focus.
            frame.addWindowListener(new WindowAdapter() {
                public void windowActivated(WindowEvent e) {
                    newContentPane.resetFocus();
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event dispatch thread:
            //creating and showing this application's GUI.
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    //Turn off metal's use of bold fonts
              UIManager.put("swing.boldMetal", Boolean.FALSE);
              createAndShowGUI();
    }Alright so i applied what you told me and tried to insert a new JFrame window with buttons and text fields. But i keep getting errors getContentPane() and the pack() in the end. I really can't figure out whats causing the error.
    Edited by: 860597 on May 22, 2011 3:37 PM

  • Problem with access another domain data

    Hi
    I want to access another domain data like XML and html page, I tried crossdomain.xml.
    but not working plz Help me if u can.

    What's the Java console say?

  • Access another class function

    Hey,
    I am trying to access another class function. I have 2 Classes and my main menu features are in my Main Class and I want to call that function from my Level Class
    What is a good idea to approach this, some how I need to import it in a way but I don't know how I could do that.
    Thanks,
    McbainGames11

    Fixed it myself
    Answer:
                        public static var instance:Main;
                        public function Main()
                                  instance = this;
    And I called a function from Main Class in my Level Class using:
    Main.instance.function();

  • Access another list in SharePoint controldisplay template

    Hi All,
    I would like to know if it is possible to access another SharePoint list items in a control or item display template using Client object model or REST services. Can someone please confirm me? Thanks.
    Regards,
    SC Vinod
    Blog: http://sharesilver.wordpress.com/

    Hi Mike,
    I'm not asking for implementing COM or REST services in a CEWP but in the display templates of a Content search web part.
    Regards,
    SC Vinod
    Blog: http://sharesilver.wordpress.com/

  • Clicking on a link to access another page or site does not work.

    This condition exists for all sites including e-mails requiring a click to access another site.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Accessing another variable from another application

    I was wonder how I can access another variable form another application?
    For example: I want to access :P4_EMPLOYEE_NAME from app ID 104 when I am doing is from an activity in page 2 on app ID 142.
    I had a search before, but I am looking for an unambiguous response.

    Greg - About all you can do is call the function htmldb_util.fetch_app_item(p_item => 'F104_ITEM', p_app => '104'). The application you call this function in must be sharing a session with the application from which you are fetching the item, both applications must belong to the same workspace, and the item you name in the argument must be defined as an application-level item in the fetched-from application.
    Scott

  • Accessing another class

    A have my "main" class (a JPanel) and the thing I want to do is simply to access another class' data and methods through my main class (That class also extending JPanel and is added together with the main class to a JFrame in a third class). The thing is i have this JTextPane that i wished to edit from my main class. Like:
    //Main class
    public class Main extends JPanel {
         private class Listener implements KeyListener{
              public void keyPressed(KeyEvent ke) {
                   if (ke.getKeyCode() == foo){
                        //Do like:
                        Log.appendLogText(bar);
    }//My JTextPane handling class
    public class Log extends JPanel {
         private JTextPane logText;
         public Log(){
              logText = new JTextPane();
              logText.setContentType("text/html");
         public void appendLogText(String str){
              String text = str;
              Document textDoc = tempLogText.getDocument();
              int end = textDoc.getLength();
              try {
                   textDoc.insertString(end, text, logText.getLogicalStyle());
                   logText.setText(textDoc.getText(0, textDoc.getLength()));
              } catch (BadLocationException e) {}
    }This is just scraps of code, if there is a better way to do it please tell me, what i want is (again) simply one JPanel displaying something where you can edit the JTextPane in another JPanel (and class).

    public class Main extends JPanel {
        private Log log;
        public void setLog(Log log) {
            this.log = log;
        log.appendLogText(bar);
    }It's up to the builder code that instantiates Main and Log classes to call:
    tehMain.setLog(tehLog);For an extra schmear of abstraction, you can do this variant:
    public interface ILog {
        void appendLogText(String s);
    public class Main extends JPanel {
        private ILog log;
        public void setLog(ILog log) {
            this.log = log;
        log.appendLogText(bar);
    public class Log extends JPanel implements ILog {...}That way, you can pass Main other ILogs -- for testing Main, for example.

  • Accessing another par file jsp pages

    Hi
    i need to access another par file JSP pages from my par file, what all i need.
    any help is appreciated.
    Thanks,
    Damodhar.

    Gandhi,
    Well..there is a very good article on how to use resources(watever resources u mentioned) of one par inside any other par file on SDN:
    Here is the document:<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b3c1af90-0201-0010-c0ac-c8d802d264f0">JSPs, Resources...</a>
    Xml files i worked were not property files of an iview.
    They were application specific xml files.I read these xml files on a different par(or iview).For that matter, they don need not be of type xml,could be any type of resource.
    Regards,
    P.

  • Copy one query from one infocube to another infocube

    Hi BW Experts,
    Hope all of them are doing good.How can we copy one query from one infocube to another infocube.
    I have infocube1 having one query ,I  NEED to copy that query to  infocube2? How?
    Could you please help me out?
    Thanks

    Use transaction RSZC in BW (BTW you're addressing BW experts in a BO forum better post in the Bex section of the BW forum)

  • Can i access another computer's stored data on my time capsule

    can i access another computer's stored data that is on my time capsule?  My other computer died and I need to access files that are stored on the time capsule.

    http://Pondini.org/TM/FAQ.html
    See #17 in this excellent document provided by Time Capsule / Time Machine guru Pondini

  • Delta upload from one InfoCube to another InfoCube

    Hello, Everybody,
    I have such situation:
    Data is loaded into Infocube A using web service. Into InfoCube A loaded data: item_1, item_2, amount, date.
    Field date in this case is used for handling data versions. I need to use the newest date data for my planning layouts (BW-BPS).
    Is it possible to have another InfoCube B and load into that Cube B only delta data from InfoCube A ? If yes, how could I do it?
    Thanks in advance!
    Best Regards,
    Arunas Stonys

    Hi Arunas,
    If your web service load is creating a "request number" in the infocube, you can create a variable on 0REQUID pick up the latest value. This could be used to filter your BPS data.
    You cannot identify delta from a cube as only addition of Key figure are supported. Delta are created by overwrite ODSs.
    Thanks,
    Jerome.

Maybe you are looking for

  • Collisions (Separating Axis Theorem)

    Hi, I'm working on a 2D game, it's top-down like GTA2, but I'm havinfgproblems with the collision detector. I know there are a lot of posts about collision already but they didn't help me much. I'm using the separating axis theorem (explained here: h

  • Photomerge Fuction is not working in Photoshop CC

    I'm able to select images in Photomerge dialogue. After this selection and giving commond to merge files photoshop start working on it by creating layers of each image but after that nothing happened not even the new file created by Photomerge close

  • Must scroll to use link on safari

    I have an iPad mini 2. I recently upgraded to iOS 8.1 and noticed that I had to scroll the page before I was able to access any link... Any suggestions?

  • Mass delete and performances

    Hi, we use a few tables to log access to our various e-commerce sites. Now some of these tables are very large (20-50 millions row) so we decided to remove old data after having consolidated it. However deleting a large number of rows takes a long ti

  • Is it possible to save a Logic Pro document without audio files?

    Everytime I choose save as package with the include audio files option deselected the package is always saved with audio files included anyway! Has anyone found a way (other than manually copying the document) to do this in Logic Pro? Thanks.