GUI advice

HI there, ive written a class to display a Jframe with a "next button to generate a new pane withoin the frame, rather like a wizard setup. the trouble is, when I hit next, the pane doesnt update proberly and only displays the card of the previous pane. CAn anyone help me?? My class is included below:
import java.text.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.UIManager;
public class StartFrame extends JFrame implements ActionListener, ItemListener
   private JComboBox typeOfPlayer;
   JPanel cards1,cards2; //a panel that uses CardLayout
   JPanel card1a, card1b, card1c,card2a, card2b,card2c;
   JPanel comboBoxPane_1, comboBoxPane_2;
   final static String SELECT_USER1 = "Please select the type of player for player 1";
   final static String SELECT_USER2 = "Please select the type of player for player 2";
   final static String HUMAN = "Human";
   final static String COMPUTER = "Computer";
   private JButton nextFrame1, nextFrame2, submit1, submit2;
   private Player play1,play2;
   private JComboBox cb1,cb2;
   private JTextField name;
   DraughtsBoard board;
   public StartFrame(Player p1, Player p2, DraughtsBoard db)
      setDefaultCloseOperation(DISPOSE_ON_CLOSE);
      setSize(200, 300);
      play1 = p1;
      play2 = p2;
      board = db;
      try
         UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
      } catch (Exception e)
         UIManager.getSystemLookAndFeelClassName();
      //Create and set up the content pane.
      addComponentToPane(this.getContentPane());
      //Display the window.
      this.pack();
      this.setVisible(true);
   public void addComponentToPane(Container pane)
      //Put the JComboBox in a JPanel to get a nicer look.
      comboBoxPane_1 = new JPanel(); //use FlowLayout
      String comboBoxItems1[] =
      { SELECT_USER1, HUMAN, COMPUTER };
      cb1 = new JComboBox(comboBoxItems1);
      cb1.setEditable(false);
      cb1.addItemListener(this);
      comboBoxPane_1.add(cb1);
      //Create the "cards".
      card1a = new JPanel();
      card1b = new JPanel();
      String levels[] =
      {"Beginner", "intermediate", "expert"};
      JComboBox levelOfDifficulty = new JComboBox(levels);
      card1b.add(new JLabel("Select Level"));
      card1b.add(levelOfDifficulty);
      nextFrame1 = new JButton("next");
      card1b.add(nextFrame1);
        nextFrame1.addActionListener(this);
      card1c = new JPanel();
      card1c.add(new JLabel("Enter name"));
      name = new JTextField(20);
      card1c.add(name);
      nextFrame2 = new JButton("next");
       card1c.add(nextFrame2);
      nextFrame2.addActionListener(this);
      //Create the panel that contains the "cards".
      cards1 = new JPanel(new CardLayout());
      cards1.add(card1a, SELECT_USER1);
      cards1.add(card1b, COMPUTER);
      cards1.add(card1c, HUMAN);
      pane.add(comboBoxPane_1, BorderLayout.PAGE_START);
      pane.add(cards1, BorderLayout.CENTER);
   public void resetFrame()
      //System.out.println("in reset frame");
      this.getContentPane().remove(comboBoxPane_1);
      comboBoxPane_2 = new JPanel(); //use FlowLayout
      String comboBoxItems2[] =
      { SELECT_USER2, HUMAN, COMPUTER };
    //  System.out.println("combo contents "+SELECT_USER2+ HUMAN+COMPUTER);
      cb2 = new JComboBox(comboBoxItems2);
      cb2.setEditable(false);
      cb2.addItemListener(this);
      comboBoxPane_2.add(cb2);
      //amend the cards
      card2a = new JPanel();
      card2b = new JPanel();
      submit1= new JButton("submit");
       String levels[] =
      {"Beginner", "intermediate", "expert"};
      JComboBox levelOfDifficulty = new JComboBox(levels);
      card2b.add(new JLabel("Select Level"));
      card2b.add(levelOfDifficulty);
      card2b.add(submit1);
      submit1.addActionListener(this);
      card2c = new JPanel();
      card2c.add(new JLabel("Enter name"));
      submit2 = new JButton("submit");
      name = new JTextField(20);
      card2c.add(submit2);
      submit2.addActionListener(this);
      cards2 = new JPanel(new CardLayout());
      cards2.add(card2a, SELECT_USER2);
      cards2.add(card2b, COMPUTER);
      cards2.add(card2c, HUMAN);
      getContentPane().add(comboBoxPane_2, BorderLayout.PAGE_START);
      getContentPane().add(cards2, BorderLayout.CENTER);
      this.getContentPane().repaint();
   public void itemStateChanged(ItemEvent evt)
      if(evt.getItemSelectable()==cb1)
         System.out.println("cb1");
         CardLayout cl = (CardLayout)(cards1.getLayout());
         cl.show(cards1, (String)evt.getItem());
      if(evt.getItemSelectable()==cb2)
         System.out.println("cb2");
         CardLayout c2 = (CardLayout)(cards2.getLayout());
         c2.show(cards2, (String)evt.getItem());
}any help would be most appreciated

Make sure you remove all the panels from the frame before adding new panels
i.e. frame.getContentPane().removeAll() and frame.getContentPane().validate()

Similar Messages

  • Developing a GUI - Advice needed.

    I need to write a GUI for a Java application. I am currently using Forte for Java, which I like. I am assuming that if I buy JBuilder that it will be able to build a GUI fairly quickly. I don't know what Forte for Java offers as far as Rapid GUI development, as basically I have just started using the product.
    Basically my question is:
    Should I develop the GUI manually, or use a GUI builder?
    If I use JBuilder, I am afraid that I will basically be locked into using a particular vendor.
    Any advice is appreciated.

    Depending on experience I suggest writting it by hand. This will take time but you should get familiar with swing. Having said that. Before you go out to buy JBuider ( expensive ), I suggest you go and download netbeans. Its a free IDE with GUI builder. This is a Sun based product and again its free. www.netbeans.org.
    With this tool as with most java gui builders you can drop your own beans in. Both visible and invisible. So for example you have: MyTextbox extends JTextField you can add this to your component pallete. . meaning that you are able to drag and drop your own components into the frame.
    There are some rules that you should adhear to. . When editting the code in netbeans the necessary generated code is non-editable. You can edit it in another editor, but it may not load and display properly the next time you look at the class in the GUI editor../ . Imagine this to be the same with most editors. Anywho, I've said to much already. . .have fun with this one

  • Simple GUI+Web advice required

    Is it possible to create a GUI to connect to a specific site, (my university website and access all the Information using GUI just as if I was using the website, except that all the relevant information and headlings are stored in specific TextFields and Panels?
    If it is then do I have to have access to the websites servers to modify it with my GUI or can I just clone the page and then store the data into relevant TextFields and view it.
    The University website has a student facility, and ofcourse has a Login screen and from there on the user can view his marks, unit material etc.
    Could some one please advice me with a helpful tutorial site so that I could try and incorporate it in my GUI application.
    Thank you

    Is it possible to create a GUI to connect to a
    specific site, (my university website and access all
    the Information using GUI just as if I was using the
    website, except that all the relevant information and
    headlings are stored in specific TextFields and
    Panels?I would say not - at least in an environment as you describe, the server is almost crtainly secured so as to prevent it and the data from being hijacked by an external hacker machine - which, effectively, is what you want to do.
    If it is then do I have to have access to the
    websites servers to modify it with my GUI or can I
    just clone the page and then store the data into
    relevant TextFields and view it.
    The University website has a student facility, and
    ofcourse has a Login screen and from there on the
    user can view his marks, unit material etc.Assuming that the server will deliver information to you, from your machine you should be able to view whatever it will let you view when you are logged on normallly. How you view it would depend on what the data is and how it's delivered.
    Could some one please advice me with a helpful
    tutorial site so that I could try and incorporate it
    in my GUI application.
    Thank you

  • Advice on GUI needed

    Since I am not a real GUI and usability guy, I'm looking for advice on the GUI for a part of an application I'm currently writing.
    Background:
    We have power supplies that we control remotely using LabVIEW applications via a serial connection (developed in-house, the power supplies as well as the applications). These power supplies have built in 60 memory banks which can store the user accessible settings like output voltage, output current and so on (about a dozen or so values per memory bank). The power supplies allow the user to concatenate these memory banks into sequences. The length of a sequence is only limited by the internal memory of the controller of the power supply and goes into the hundreds of possible steps. The arrangement of the used memory banks within a sequence is only limited by the imagination of the user. The duration of every step within a sequence may vary within the range from 0.5s to several hours. So far these configurations have been made using a 2x16 character display and a few buttons on the front panel of the power supplies, but that is not very handy. My task is to produce a LabVIEW application with easier to use user interface.
    My ideas so far:
    The GUI for a sequence: Since a significant part of a sequence is the time, I think about having a window or a part of a window that allows for scrolling horizontally to represent the time on the x-axis. Into this scrolling area I would like to put representations of the memory banks in the appropriate timely order for a sequence. The representations should indicate the number of the memory bank used and ideally a few key settings. A pictorial representation of the memory bank in question would suffice, maybe with some information about the major settings in the bank in the image. Since I also do web authoring, I have the the idea of using a so-called carousel linke the ones used for the display of a subset of a range of images on websites, like this one here:
    The GUI for the configuration of a memory bank: I would go along the lines that evolve from the solution of the upper problem to make the two interfaces as consistent as possible. Since it is most probably impossible to display all the available 60 memory banks in in standard window, offering a subset of all memory banks of them to the user and allowing him to choose one memory bank to edit seems appropriate. Again the question for a scrolling interface comes up.
    Obstacles to overcome:
    presentation of a table with 60 sets of about a dozen keys
    editing of said table
    presenting a timeline with an unknown number of representations of memory banks in a sequence
    allowing to edit/rearrange the order of used representations of memory banks in the timeline of a sequence
    The first to points I can do technically. But the last two points are giving me a headache because so far I did not see anything like it in the examples or elsewhere.
    Any suggestions on the look and feel and the implementation thereof are welcome.
    Regards, Hans
    PS. I'm using LabVIEW 8.5.1

    HHMeyer wrote:
    drjdpowell wrote:
    My advice would be to first make sure you understand how the Users will be using the power supplies. In particular, do they care about "memory banks" or the fact that there are 60 of them?
     Our users asking for the possibility to program repetitive sequences is a major reason we implement this.
    Hi Hans,
    What I was trying to get at is that there are two levels to designing a control program for hardware such as your power supply:
    1) a UI to allow the User to specify what they want the power supply to do, and
    2) a "driver" that controls the power supply via the hardware-specific control method.
    Sequences of power parameters such as Voltage is the connection point between the two levels, but "memory banks" are very much an internal detail of the driver level.  Imagine, for a moment, that someone came to you and said that they would like to start also using a new type of power supply that is controlled through a text-scrpiting language instead of memory banks ("V300Wait10000A1...", or whatever); this new supply can do exactly the same sequences as the old supply, but it's control method is different.  You wouldn't want to have to totally change your UI for this new supply, just write an alternate driver that can be plugged in.  Similarly, if some other programmer wanted to adapt your power supplies into a different UI, it would be much easier for them to be able to use your driver without having to understand what a "memory bank" is.
    In your posts, you seem to freely mix terms from the "power-supply-UI" and "specific-power-supply-driver" levels ("sequences" versus "memory banks").  I worry that you may be about to write a "UI for setting memory banks of this specific supply" rather than a "UI for controlling a power supply" and a "driver to control this specific power supply (via memory banks)".  It's an easy mistake to make, as I know from painful experience, and it could limit the future flexibility of your software.  Though it is possible that your Users are really interested in all the details of this specific supply (it being in-house and all) and thus really do want a UI for setting memory banks.  Now is the time to be sure you understand your Users; "I want to program repetitive sequences" is not necessarily the same as "I want to program the memory banks".
    -- James
      As for the monitoring of the power supply I implemented the display of the the current values as numbers and graph, like you suggested.
    A trick I use is to display dashed lines for what the hardware is programmed to do, with solid lines of the same colour showing the actual values as they occur.  As the User changes parameter values, the graph automatically updates the dashed lines to give instant visual feedback of what they are telling the hardware to do, while during execution they can easily see at what point the process is at by comparing the solid to the dashed lines.  
    Attachments:
    TempProfile.jpg ‏12 KB

  • Embedding video in a gui (getting started advice)

    I have a project with a swing gui that i would like to embed a video screen in. the video will stream from a web camera and provide a live picture. I am new to the idea of handling video streams so have i come to the right place? what should i look at to get started?

    Dear andreyvk ,
    I've read your post about how to use a single RTP session for both media reception and trasmission (I'm referring to you RTPSocketAdapter modified version), but, at the moment, I'receive a BIND error.
    I think that your post is an EXCELLENT solution. I'modified AVReceive3 and AVTransmit3 in order to accept all parameters (Local IP & Port, Remote IP & Port).
    Can you please give me a simple scenario so I can understand what the mistake?
    I'use AVTransmit3 and AVReceive3 from different prompts and if I run these 2 classes contemporarely both in 2 different PC (172.17.32.27 and 172.17.32.30) I can transmit the media (vfw://0 for example) using AVTransmit3 but I'can't receive nothing if I run also AVReceive3 in the same PC?
    What's the problem? Furthermore, If I run first AVReceive3 from a MSDOS Prompt and subsequently I run AVTransmit3 from another prompt I see a BIND error (port already in use).
    How can I use your modified RTPSocketAdapter in order to send and receive a single media from the same port (e.g. 7500).
    I've used this scenario PC1: IP 172.17.32.30 Local Port 5000 and PC2:IP 172.17.32.27 LocalPort 10000
    So in the PC1 I run:
    AVTransmit3 vfw://0 <Local IP 172.17.32.30> <5000> <Remote IP 172.17.32.27> <10000>
    AVReceive3 <Local IP 172.17.32.30/5000> <Remote IP 172.17.32.27/10000>
    and in PC2:
    AVTransmit3 vfw://0 <Local IP 172.17.32.27> <10000> <Remote IP 172.17.32.30> <5000>
    AVReceive3 <Local IP 172.17.32.27/10000> <Remote IP 172.17.32.30/5000>
    I'd like to use the same port 5000 (in PC1) and 10000 (in PC2) in order to transmit and receive rtp packets. How can i do that without receive a Bind Error? How can I receive packets (and playing these media if audio &/or video) from the same port used to send stream over the network?
    How can I obtain a RTP Symmetric Transmission/Reception solution?
    Please give me an hint. If you can't post this is my email: [email protected]
    Message was edited by:
    TheSirac

  • Need advice in writing forum component for a GUI application

    Hello,
    I need to write a forum component for a GUI application, that is a visual component that would have all the usual forum functionality - creating threads, posting replies, editing, logging in, etc. I'm planning to use some existing forum engine on a JBoss/Tomcat server. So I do not need a web-interface for a forum, but I need find some engine written in java with a clear interface that I could use in my app. I tried JForum (http://www.jforum.net) first, but it seems it doesn't have open API I could utilize.
    Could anyone please suggest appropriate engine, possibly anyone knows of open-source forum GUI apps I can look at?

    Google? You've never heard of Google? Seriously? Did you just get Internet access yesterday?
    http://www.google.com

  • Swing Coding Advice -- HandCode vs. GUI Tools

    What are the Pros and Cons of "hand-coding" vs Using a Tool ?
    All of my training and self-study has NOT included a GUI Tool. While I'm comfortable with Java, I've never used a GUI Tool (like Visual Age, JBuilder, Visual Cafe). I'm confortable with Layout Managers and the Event Handling model.
    I find tools un-intuitive and a daunting learning curve.
    I fear learning a tool will distract me from increasing my real world expertise with JFC/Swing, yet I don't want to miss out on significant productivity gains.
    Thanks,
    Ron

    What are the Pros and Cons of "hand-coding" vs Using
    a Tool ?
    All of my training and self-study has NOT included a
    GUI Tool. While I'm comfortable with Java, I've never
    used a GUI Tool (like Visual Age, JBuilder, Visual
    Cafe). I'm confortable with Layout Managers and the
    Event Handling model.
    I find tools un-intuitive and a daunting learning
    curve.
    I fear learning a tool will distract me from
    increasing my real world expertise with JFC/Swing, yet
    I don't want to miss out on significant productivity
    gains.Hi Ron,
    here my opinion: using a GUI-tool might be easier in some straight-forward-situations, like just draging and droping some components to the positions where you want to place them and you see directly how it looks like - wysiwyg! While handwise you have to create them, add them, define the positions, and compile and run the program to see how it looks like.
    BUT also with a GUI-tool you must still be aware of LayoutManagers, EventHandling etc. to use all the advantages Java offers. And there I made the experience that our Gui tool (I used Visual Cafe some time ago) was quiet uncomfortable. I would have needed more learning and training for using the tool than for Java itself... that's not the purpose of a tool!
    So: if you are comfortable with handwriting, just continue with that!!!
    Anja

  • Unable to enter a Division for which I have proper credentials, via the GUI

    I have a Division which I am unable to enter, either as a student or as the full site Administrator, from the GUI.
    When I log into the main Site page, I see the link for the Division (as I should - I have DOWNLOAD permissions for the Division). However when I click the link (the thumbnail image) I am always, 100% of the time, rejected and sent to the login page. Ignoring that, I still have all of my proper credentials and may continue to freely access other parts of the site.
    In the past, I had this exact behavior on (1) a Division "RobotCourses:PSYC" (Psychology), and (2) my main site breadcrumb, which appears at the top of the site page to the right of the "iTunes U" breadcrumb and says "Maiko Covington @ University of Illinois..." For reasons completely unknown to me, this behavior resolved itself yesterday, clicking both of those objects works as expected, although NO one at our site with any edit access did anything on the server.
    However, the same behavior has now reappeared, this time on a Division "RobotCourses:CLCV" (Classical Civilizations). Again, I have not done any editing of that Division, nor had anyone logged into it (these Divisions are in a test area where I am developing automation tools).
    I am, quite frankly, stumped. But I've done some investigation.
    SETUP:
    The Division has identity "RobotCourses:CLCV".
    This Division contains a single Course with identity "RobotCourses:CLCV:CLCV115:CLCV115All-13564".
    Both the Division and the Course are restricted to properly registered academic students. I have developed automation code in a login portal which grants credentials for RobotCourses:CLCV to students registered for courses in the CLCV department (Classical Civilizations) and credentials for RobotCourses:CLCV:CLCV115:CLCV115All-13564 to students registered for CLCV 115 (Classical Civilizations 115 - Mythology of Greece and Rome) specifically.
    The Permissions set on RobotCourses:CLCV in particular are:
    <Permission>
    <Credential>Authenticated@urn:mace:itunesu.com:sites:illinois.edu</Credential>
    <Access>No Access</Access>
    </Permission>
    <Permission>
    <Credential>gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV</C redential>
    <Access>Download</Access>
    </Permission>
    The point is to deny access to Authenticated@ (merely authenticated students) and then specifically grant it for people given a "gakusei" credential for RobotCourses:CLCV in particular.
    (Note here that "gakusei" is a Japanese word meaning "student," I am using it in my credentials to ensure that my credentials and permissions are not affected by other credentials named "student" set at upper levels and used by some live users of the site, as we do not have a segregated development environment. It is our lowest level of access beyond mere Authenticated@..., designed to give students access to download and "surf to" Divisions and Courses.)
    *LOGIN: ISSUING CREDENTIALS:*
    The login portal code works successfully, and so when a student "Jane Doe" logs in, she is in fact given appropriate credentials (as she is actually registered for CLCV 115 here at UIUC). From the code generating her login URL, I see:
    Issued credentials:
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    (You can see she is also registered for STAT 100).
    With the default login URL thus generated, she is taken to the top level of the Site in iTunes, and in fact sees thumbnail links for both STAT (Statistics) and CLCV (Classical Civilizations). Clicking on STAT takes her to the STAT Division where she can then enter the Course STAT 100 with no problems.
    *PROBLEM: CAN'T GET TO CLCV FROM THE MAIN PAGE IN THE GUI*
    HOWEVER! Clicking on CLCV brings up the login page. If she ignores the login page, she can still access the rest of the site, including STAT, just fine. Logging in again (reissuing her credentials) does not help the situation.
    Note that this is not a problem only for Jane Doe, the same thing happens for anyone in CLCV and in fact happens for me as Administrator of the whole site with full access, even.
    *ACCESS DIRECTLY TO THE DIVISION BY URL WORKS*
    With a slight modification to the login to allow access directly to the RobotCourses:CLCV Division (by adding the handle of the Division to the end of the location), credentials are issued exactly as before:
    Issued credentials:
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    and she is taken to the Division page, SUCCESSFULLY. So, it seems she actually HAS access, as expected.
    *ACCESS CONFIRMED WITH DEBUGGING:*
    Writing some code to generate not the actual login URL but rather a link that takes me to an "iTunes U Access Debugging" page for the Division (figured this out by reading some other posts! :)) I am taken to a page with the following:
    (at generated URL https://deimos.apple.com/WebObjects/Core.woa/Browse/illinois.edu.1945806043/xxx5 64?credentials=....)
    Received
    Destination illinois.edu.1945806043
    Identity "Jane X Doe" <[email protected]> (jxdoe) [xxxxxxxxx]
    Credentials gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV; ​ gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564; ​gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT;​ gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    Time 1236877947
    Signature 42ccef92a3298684a7a09eed45adb6b788a700c01645b8b423d33ace120650b0
    Analysis
    The destination string is valid and the corresponding destination item was found.
    The identity string is valid and provides the following information:
    Display Name Jane X Doe
    Email Address [email protected]
    Username jxdoe
    User Identifier xxxxxxxxx
    The credential string is valid and contains the following 4 recognized credentials:
    1. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV
    2. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:CLCV:CLCV115:CLCV1 15All-13564
    3. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT
    4. gakusei@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:STAT:STAT100:STAT1 00X1-13570
    The time string is valid and corresponds to 2009-03-12 17:12:27Z.
    The signature string is valid.
    Access
    Because the received signature and time were valid, the received identity and credentials were accepted by iTunes U.
    In addition, the following 2 credentials were automatically added by iTunes U:
    1. All@urn:mace:itunesu.com:sites:illinois.edu
    2. Authenticated@urn:mace:itunesu.com:sites:illinois.edu
    With these credentials, you have browsing and downloading access to the requested destination.
    (In case you think to check the sums, be aware I've actually changed the student's name for this example.)
    So, as expected, I have access, in fact the student DOES have access, visiting the Division page directly (specifiying its handle as part of the desired location).
    *IT'S ONLY CLICKING THE THUMBNAIL ON THE MAIN PAGE THAT BREAKS*
    Because the problem is only apparent when clicking the icon for the Division on the main Site page, I have no way (that I know of) to get any information about precisely WHAT is going on, what possibly differs in the GUI-click situation from the "generate me a URL that takes me right there" situation.
    At that point I'm fully in the GUI, I'm not sending anything via web services, so I have no idea how I can proceed to debug this from here.
    I'm also quite confused at the sudden appearance of this behavior, and the disappearance of this behavior from RobotCourses:PYSC, another Division that was broken in this same way all last week but which magically resumed allowing me access yesterday.
    Any suggestions, hints, or advice would be very welcome. Has anyone else even seen behavior similar to this?
    Thanks for any information you might have.

    Maiko,
    I'm confess I'm still trying to get a handle on your problem. You do a fantastic job of describing it ... but I'm just trying to picture it accurately in my head.
    I think, were I in your shoes, I'd begin by looking at what the debug page has to say for the specific destination in which you're interested in fixing. In other words, I'm not clear on where, exactly, this destination points ...
    Destination illinois.edu.1945806043
    Is that your site, or the division within your site that you want to fix? "Normally", you do not need to specify a site handle to get to your site within your transfer CGI ... if you say "uillinois.edu", it's enough to transfer your users to iTunes U ... but every site still has a handle, and you could, if you wanted to, actually specify it in your transfer CGI. For example, this:
    Destination uic.edu.1139051993
    is for my entire site ... it's my site handle. Whereas this:
    Destination uic.edu.1991288441
    is for a division within my site ... but it's impossible to tell the difference between "site" and "division" from just the handle (I mean, if I didn't say "this is a site" and "this is a division", there'd be no way for you to know). So when I look at your creds and permissions on your debug page, I can't quite tell if they give you download access for your site, or for the specific division you want to fix. If you could open the debug page with your division as destination (or confirm that that's what we're looking at), it'd rule out some things.

  • SAP GUI (SAP LOGON 620).Problem connecting to R/3

    Hi I Installed SAP 4.7 successfully.I could see SAP R3 Management console started properly.After Installing SAP GUI,I tried to connect from SAP Logon.I get an error ,A box opens
    Which has title 'Syntax Errors'
    and fields in the box are,
    Syntax error in program -
    in include                      -
    in line                           -
    Last changed by           -
    Author                         -
    Any help on this would be greatly appreciated.I tried to google but could not find any reasonable answer.
    I also tried to connect to R/3 from other box but the same result
    Thanks in advance
    Durga

    Mantosh,
    I dont see any user defined on my logon pad.All I see Proerties,Groups,Server,New,Delete.
    Manas,
    Still no luck.I changed as adviced by bu still I get 'Sytax Errors' window.
    Here is my SAPLogon pad after the changes you suggested.
    [Configuration]
    SessManNewKey=4
    [MSWinPos]
    NormX=38
    NormY=71
    [Router]
    Item1=
    Item2=
    [Router2]
    Item1=
    Item2=
    [RouterChoice]
    Item1=0
    Item2=0
    [Server]
    Item1=10.10.10.12
    Item2=SR1
    [Database]
    Item1=00
    Item2=
    [System]
    Item1=3
    Item2=3
    [Description]
    Item1=sap 4.7d
    Item2=SAP 4.7E
    [Address]
    Item1=
    Item2=
    [MSSysName]
    Item1=SR1
    Item2=
    [MSSrvName]
    Item1=
    Item2=
    [MSSrvPort]
    Item1=sapmsSR1
    Item2=
    [SessManKey]
    Item1=3
    Item2=2
    [SncName]
    Item1=
    Item2=
    [SncChoice]
    Item1=0
    Item2=0
    [Codepage]
    Item1=1100
    Item2=1100
    [CodepageIndex]
    Item1=-1
    Item2=-1
    [Origin]
    Item1=USEREDIT
    Item2=USEREDIT
    [LowSpeedConnection]
    Item1=1
    Item2=0

  • Insert Button on SAP GUI Logon Screen

    Hello,
    is it possible to insert a button on the SAP GUI logon screen like the "new password" button?
    We want to insert a button, with which the user can generate a new initial password, if he has forgotten his password.
    Thanks for answers
    regards
    Christian

    >
    Anand Munuswamy wrote:
    > Hi,
    >
    > I very strictly advice to avoid of providing "Reset password" button to user, this will make any user to reset the password of other users.  This is one of the security violation.
    I fully agree.
    > If you want to provide option for reseting the passwords to user, you can make a custom program which can be executed by user and can reset the password for their own user, but not for others.
    >
    > Regards
    > Anandm
    Well, I'd propose to leave the SAPGUI screen untouched but only place a comment on the logon screen (see [note 205487|https://service.sap.com/sap/support/notes/205487]) which informs the user on a URL to a web application (BSP) which provides the desired "forgotten password" self-service functionality.
    In the internet you find many examples of such "forgotten password" self-services - good ones and not so good ones. What all of them have in common is the requirement that the user has provided a valid email address or mobile number (during the account registration) which can be used for the required off-band communication. However they differentiate in the way they try to mitigate misuse: some prompt for a so-called passphrase (in most cases: the user has entered a free-text answer to a question chosen from a fixed set of predefined questions, during accoutn registration) before sending a newly created password to the email address retrieved from the user account; others generate a (random) "password change token" which they send to the email address and prompt the user to enter this "password change token" on the webpage (the account remains untouched until the correct "password change token" was entered, in most cases this is also time-restricted). I prefer the latter one.
    Cheers, Wolfgang

  • SAP Gui Logon Error - 0942

    Hi,
    We done system copy from SAP ECC6 windows to unix environment.It sucessfully installed.
    while we logon(SAPGUI) the Unix system  Error message Occurs "SQL Error 942 When
    accessing program SAPM".
    Kindly advice to us.
    regards
    senthil

    > No problem in System copy method. I login to my unix system(root user) i sucessfully started database & cI.
    > by using commands lsnrctl start & startsap sap. Server works fine.My problem is SAP GUI Login only
    The SAPGUI Logon problem is a symptom of the problem. The system doesn'T find a specific table it looks for. Even if the system is up and running this doesn't mean anything. You can't logon since a program can't be loaded because the table is not existing.
    Check your dev_w* traces, I'm sure you find a LOT of errors.
    Markus

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

  • Running a GUI application without holding command prompt

    Hi there ,
    I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like ,
    c:\> java xxx
    where c:\ is the general command prompt on a Windows machine where I can type in my commands like javac or java and xxx is the class file name . Now till I complete using my GUI application and exit from the same , the command prompt will also be there ( and probably displaying the output of my System.out.println ) . So , two sessions are running , one is just the command prompt and another is the actual GUI application.
    How can I avoide this ? e.g. when I type command "notepad" and press enter , notepad is started and the command prompt returns after starting notepad i.e. the notepad and the command prompt are not related now , I can close the command intrepreter and still notepad is running . What should I do to create such a Java GUI application ? Please advice .

    If I understand you correctly this is something that happens in linux also. And I believe that you can solve this by creating to shortcut to this program.
    And the shortcut or link to application will be the command line that you use to run the Java Application.
    i.e.
    java c:\javadir\subjavadir\application.class
    And I believe that this will allow it to run without the command prompt. Just showing the GUI and no additional command prompt window. Freeing the command prompt is something that I don't know how to do in either OS.
    I use the Link To Application method because I ultimately don't need to have multiple windows for one application. Even though it is nice to be able to kill the Application by destroying the command-prompt session (in case your app causes lock-ups during testing).
    Post your results . . . I'm not even sure that I'm being clear at all with my explanation to your question.

  • Creating a GUI for use on an Ethernet Network

    I'm designing a data logger to log voltage, current and temperature data on a reserve battery string while it's being charged. The logger will have the capability to be viewed remotely via Ethernet. With that said, I'd like some advice regarding the GUI for the remote PC which will be used to view the logger. Will it be easier to create the GUI using LabView or another high-level language  (Java, C++ etc)? (Note: I have some programming experience in C (though I've never written/created a GUI) and I've never used LabView).
    Solved!
    Go to Solution.

    Hi Joe1373.  In general, for a small one-off project, I would suggest you go with a language you know.
    In this case it sounds like whatever you choose you will have a learning curve, so I would recommend
    LabVIEW if that is a possibility cost-wise.  LV has a lot of built-in support for GUI development so
    you can make realtively sophisticated GUIs without a whole lot of work/learning.
    There are time-limited evaluation versions of LV available for download.  I would take a look there, especially
    the examples.  Find something a little similar to what you want to do, then change the GUI on the 
    example to more closely match your ultimate objective to get a feel for the GUI development in LV.
    This forum is a great resource with some very helpful developers, so come back with questions.
    There are also many professional developers available to assist if you have a budget or inclination
    towards that direction.
    Matt

  • Running a Java application from a Swing GUI

    Hi,
    I was wondering if there is a simple way to run a Java application from a GUI built with Swing. I would presume there would be, because the Swing GUI is a Java application itself, technically.
    So, I want a user to click a button on my GUI, and then have another Java application, which is in the same package with the same classpaths and stuff, run.
    Is there a simple way to do this? Do any tutorials exist on this? If someone could give me any advice, or even a simple "yes this is possible, and it is simple" or "this is possible, but difficult" or "no this is not possible" answer, I would appreciate it. If anyone needs more information, I'll be happy to provide it.
    Thanks,
    Dan

    I don't know if it is possible to run the main method from another Java app by simply calling it...
    But you could just copy and paste the stuff from your main method into a new static method called something like runDBQuery and have all the execution run from there.
    How does that sound? Is it possible?
    What I'm suggeting is:
    Original
    public class DBQuery{
    public static void methodA(){
    public static void doQuery(){
    methodA();
    public static void main(String[] args){
    // Your method calls
    //Your initializing
    doQuery();
    }Revised:
    public class DBQuery{
    public static void methodA(){
    public static void doQuery(){
    methodA();
    public static void doMyQuery(){
    // Your method calls
    //Your initializing
    doQuery();
    // No main needed!!
    //public static void main(String[] args){
    // Your method calls
    //doQuery();
    //}

Maybe you are looking for

  • Ipod classic wont start up or reset after sleeping mode

    Hi. I've just got a new iPod Classic 160Gb, one week old. Everything is fine except that it won't turn on after sleep mode is on. I cant do the restart. The iPod somehow does not response to the menu+start buttons at the same time. It however wakes t

  • Database in R/3 does not get updated

    Hi All, I am using the Adaptive RFC model for the WD application. However at the backend (in R/3) it is just an RFC. Does this affect the working of the application? The database in this case is getting updated with a blank record irrespective of the

  • Issue with delivery creattion

    Hi All, My client have requirement, in delivery system should check the manufacturing date of materila batch entered and GR processing time of material from the material master if the difference between these two dates is in past then system should g

  • Can't Shut Down, Remedies Don't Help

    My laptop refuses to shut down all the way. I get as far as a blank screen with my desktop wallpaper, but no sign of thought after that. I have to force shut down from there. I'm aware of the reset PRAM, reset SMC solution, but neither has worked aft

  • Java reporting architecture?

    I have been out of Java development for about a year. Now I am thrust back--yes, I'm happy about that. I have been tasked with developing a reporting architecture for a new J2EE application. I am just learning the requirements for the application, bu