Ideas to implement a GUI

Hello Fellow Engineers!
I would like some useful insights from all of you. I need to build a GUI with a menu button that gives many options. Clicking any one option should open the associated block diagram and front panel where the user can enter fields of data. Each option on the menu button leads to a different block diagram and therefore a different front panel (each opening on a different screen/window). These separate programs associated with each option in the menu button is being developed by different people and I would like to integrate it all into a interactive GUI, wherein clicking any option on the menu button opens a new interactive window for the user. This is being done in LABVIEW 8.2. I would like some ideas on how to start building such a structure using event driven programming.
     I would like some ideas on how the clicking of a button (say, that's one event) triggers the opening of a new window and screen and how I can return back to the main window.
I await some useful ideas from all of you,
With warm regards,
Aparna.
Student, Ulm,
Germany.

Hi Aparna,
it seems you are talking about subvi's...
Those vi from "different people" should be set to "Open front panel when called" and "Close FP when finish" in their vi properties. The subvis should have a "back" button to close the frontpanel and to end all running loops to get back to the main vi (your GUI).
Now make an enum (or a ring, when you want to change the menu at runtime) with an entry for each subvi you want to call.
Make an event structure with an event "value change" for this enum. Wire the enum to a case structure, put the subvis in their specific case.
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Which IDE is suitable for GUI in Java?

    Which IDE is suitable for GUI in Java?
    I have kind of complex form with many text fields and buttons in a Java application. I have been trying with Netbeans, everything is fine with Netbeans but it is a huge problem when all the graphics components move around when you have too many graphic....
    I am looking for IDE with GUI tools??? Any suggestions???
    Many thanx for all advices

    I tested Eclipse 3.2 and NetBeans 5.5. NetBeans definitely has the more stable, reliable and more user friendly GUI editor.
    From the rest of the development - the features of the IDE - I see that Eclipse offers more but with the drawback for the beginner (as I am) that some things are harder to figure out how they work in Eclipse. NetBeans seems more "intuitive" and easier for me. - Emphasizing again that I am a beginner.

  • Help with implementing Swing GUI within jpg image

    Dear Java Experts,
    I have a question, is there a way to implement java swing objects (ie jbutton, jcombobox, etc) within an imageicon. Basically, i am trying to juggle between ways of getting JSwing GUI into a background jpg image. Please help me. I thank you all in advance.

    You've it back to front.
    Create an transparent extension of JPanel that paints an image on it's
    background before running it's super class paint method.
    You'll need to extend this example to stretch, center or tile the image
    but otheriwse it's complete.
    BTW - you have to pass an argument to this example that is the path of
    the image you want on the background of the panel, like:
    java -cp <whatever> MyJavaProject1 images/something.gif
    Enjoy.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class MyJavaProject1
         static class BackgroundPanel
              extends JPanel
              private ImageIcon mIcon;
              public BackgroundPanel(ImageIcon icon) {
                   mIcon= icon;
                   super.setOpaque(false);
              public void setOpaque(boolean flag) { }
              public void paint(Graphics g)
                   g.drawImage(mIcon.getImage(), 0, 0, null);
                   super.paint(g);
         public static void main(String[] argv)
              JFrame frame= new JFrame(argv[0]);
              BackgroundPanel panel= new BackgroundPanel(new ImageIcon(argv[0]));
              panel.setLayout(new GridLayout(0,2,4,4));
              panel.setBorder(new EmptyBorder(4,4,4,4));
              panel.add(new JLabel("Name"));
              panel.add(new JTextField());
              panel.add(new JLabel("Address"));
              panel.add(new JTextField());
              panel.add(new JLabel("Phone"));
              panel.add(new JTextField());
              frame.getContentPane().add(panel, BorderLayout.CENTER);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.pack();
              frame.setResizable(false);
              frame.setVisible(true);
    }

  • Problem with Netbeans IDE 5.0: Building Gui

    Hello,
    I have the following problem with Netbeans IDE 5.0 (I made the same with netbeans 3.6 and it works properly):
    Step 1) Create a myJPanel class (new JPanel Form)
    Step 2) make a simple operation on myJPanel such as adding a JTable.
    Step 3) Create a myJForm Class (new JFrame Form)
    Step 4) Adding a JPanel to myJFrame (default name jPanel1)
    Step 5) Select JPanle1 within myJFrame and go to code-> custom creation code and write "new myJPanel();"
    this should set the jPanel1 (and all its contents and behaviours) created
    in step 4 equals to myJPanel();
    Step 6) run myJFrame;
    ........ and nothing happens. It is dispalyed just a gray JFrame.
    It seems that myJFrame is able to istantiate myJPanel() but is not able to paint it. what's wrong?
    Hope you may help me,
    thx

    Unfortunately, Netbeans 3.6 files and Netbeans 5 files are not compatible. Except the Java source files, Netbeans uses other aditional files such as xml files etc for forming GUI and other reasons. I have also faced the same problem with you. Good luck.

  • Which is the best and user freindly IDE for developing Java GUI application

    Please advice me if there is any good IDE for developing all kind of Java applications.
    I m confused about which IDE to use.
    I have Searched on Net also. and most of the answers i found was for JBuilder and JBoss.
    But cant confirm until u guys suggest me.
    Because i think this is the best place to ask questions about java.
    Please advice

    If you're developing JSPs and Servlets....
    I've found that using Eclipse (which is free) coupled with the MyEclipse plug-in (an advanced J2EE specific plug-in which costs $29.99USD/year) was the best for me. I've tried several free J2EE Eclipse plug-ins, didn't like them. Wasn't a big fan of NetBeans either, but I liked it tons better than the other Eclipse plug-ins.
    Therefore, IMHO for free I'd go with NetBeans, for a small fee I'd go with Eclipse/MyEclipse plug-in.
    If you are new to J2EE but not to Java, you may want to consider going straight to JSF and Sun's Java Studio Creator. This is not free, but the fee is one-time and development is (mostly) visual using Java Studio Creator.

  • Implementing "pause" function in GUI

    Hello fellow engineers!
    I would like some help from all of you. I am trying to implement a GUI in Labview. I want to know how I can realise the "pause" and "continue" functionalities. I welcome suggeestions from all of you.
    With warm regards,
    Aparna.

    Hi Aparna,
    I was not quite clear of what you were after but i have generated a small VI for a solution I think you are after. Hope it helps.
    Regards,
    Kabul
    CLA | LabVIEW 7.1... 2013
    www.renishaw.com
    Attachments:
    run_pause_continue.vi ‏11 KB

  • Trouble updating a GUI interface - in SOS state

    hi there,
    I have some trouble implementing this GUI related code, but what it basically does is it removes the certain component of the jframe (removes one of jpanels) and attaches a newly created panel.....I posted up the same topic last night, and somebody provided me with helpful hint about using various methods in the class Component (ie Component.add, Component.remove, Component.validate, etc). I looked it up on the java.sun website for these methods, and actually tried them.....it does sort of work, except the interface looks kinda distorted after the update (ie. when i move the mouse cursor around the updated area, some components of the panel appears and disappears. So, without dragging it any further, I will once again explain in detail what I want this program to do, and then provide you with the code (I actually want to validate this code and see whether I am doing things in logical sense.
    Basically, the JFrame is divided into the following:
    A menu consisting of different integers (the selection of the menu determines
    how the interface is being changed) --- Located on very top of the interface
    A Jpanel, which contains three different sub-JPanels (used Border-Layout to divide
    this)
    North panel - contains two checboxes (but this does not has to do with my
    topic now)
    Centre panel - contains set of labelled radio buttons (THIS CHANGES
    UPON THE SELECTION OF THE MENU; THE LABEL BESIDE EACH BUTTONS CHANGE
    EVERYTIME THE MENU IS SELECTED)
    South panel - contains two JButtons (but again, not a concern at all)
    So this is the code, that I wrote in order to update the Centre part of the Main JPanel (ie. remove the sub-JPanel which already exists on the centre and add the newly created JPanel to Centre
    p_jvecframe.getContentPane().remove(2);
    p_jvecframe.getContentPane().validate();
    p_jvecframe.getContentPane().add(jpanelVECTORS, "Center");
    p_jvecframe.getContentPane().validate();
    p_jvecframe.repaint();Bit confused with one of thing:
    from Component.remove(int index), how does this index work? Is this like an array, where the top (or first in case of array) object on the Component is always integer 0?
    Your ideas and suggestions would be much appreciated. Thank you in advance.
    Regards,
    Young

    Swing related questions should be posted in the Swing forum.
    Generally when you add or remove components from a panel you should use revalidate() on the parent container.
    However, in your case maybe a better option is to use the CardLayout, which is designed specifically for this this purpose. Read the Swing totorial on "How to Use a Card Layout":
    http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.htmlWhen adding components to a BorderLayout, you don't need to remove the component first since only one component can exist at a given position at any time. So in the case of a BorderLayout, I don't know if "index 2" means anything in particular.
    It does make sense for a FlowLayout. Since every component added is just added to the end of the layout. Therefore you can reference the components in the order in which they are painted on the screen.

  • GUI of a game card

    I'm looking for a class that implements a GUI of a game card.Any ideeas where should I look for it?
    Thanks,

    'Card game' is pretty broad. What are you trying to accomplish?
    Also, I gotta tell you, this probably isn't just lying about for free

  • Getting the GUI to access and use changed variables

    Hi,
    I'm trying to implement a GUI which when you click the new button, a new Jframe appears on screen. The user then selects an item from a list and clicks ok. The item they select is then used as an argument to call a method from the system class. The problem is when I run the program, the GUI gets the values of the variables from the system class, before the new button and the item are selected. How can I make the Gui get the new values.?? Any help would be great as its doing my head in,
    cheers

    The problem is when I run the program, the GUI gets the values of the
    variables from the system class, before the new button and the item are selected. No idea what you are talking about.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • 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

  • Running a NetBeans 5.5.1 GUI in Java 1.5?

    Hi everyone, thanks for your interest.
    I've created a GUI in NetBeans 5.5.1 using the Group Layout package, which is included in Java 1.6.
    The only problem is I need this app to run in a Java 1.5 environment.
    I'm not an expert at this but after extensive searching it looks like I can import a .jar file to make everything work again?
    The problem is I add this swing-layout-1.0.jar to my class path but in the source file for my application it refers to these classes by javax.swing.________ and not by the org.whatever that the .jar I took uses. Futhermore, there seem to exist some differences between the classes in the javax.swing and my .jar file.
    Is there ANY way for me to make all this java 1.6 code to run in java 1.5. Perhaps by including some extra package?
    If so, where would I find such a package?
    If you don't think this can be done please let me know so I can stop bashing my head against the wall.
    Thanks,
    Craig

    From this URL
    http://java.sun.com/developer/technicalArticles/tools/nb_guibuilder/
    The Free Design layout has been available since NetBeans IDE 5.0. NetBeans IDE 5.0's GUI Builder provided support for this layout strategy by using a separate library called the Swing Layout Extensions. The IDE provided that library because the support for the underlying GroupLayout layout manager was not yet part of the core Java platform in J2SE 5.0. The Swing Layout Extensions are still available, but now that functionality also exists in the core libraries of the Java SE 6 platform.
    You can use NetBeans IDE 5.5 to develop applications and UIs for Java SE 6 or earlier Java platform versions. If you write applications for any platform version prior to Java SE 6, you must continue to use the Swing Layout Extensions. However, the new GUI builder can also generate your UI using the layout manager functionality supported in the Java SE 6 platform. In the latter case, you do not need to use or include the layout extensions in your final product.
    If you create a new project in NetBeans IDE 5.5 and your target platform is Java SE 6, the GUI builder will automatically generate your UI using the Java SE 6 platform's core libraries. However, if you import an old project into NetBeans IDE 5.5, you should manually update the project's layout to use the new Java SE 6 platform libraries. Of course, you can still use the layout extensions if you like, but doing so is not necessary with the Java SE 6 platform.
    You can change the Layout Generation Style for your UI by accessing the properties for your form. In the NetBeans IDE GUI Builder main window, make sure the Design mode is active. This shows your UI design graphically in the Design pane. Click on the form in the Inspector pane to see the form's properties. One of the properties is Layout Generation Style. You can select either Standard Java 6 Code or Swing Layout Extensions Library. Changing this setting does not affect how your UI will look, but it does change how the GUI builder generates the code to create the UI. Figure 16 shows the Layout Generation Style property.

  • Wanted: Your Skype for Windows Desktop ideas

    We have just launched a new Windows Desktop Client idea board to let you all share and exchange your ideas on how to improve and develop Skype for Windows desktop client.
    Before you start sharing your ideas, here are some guidelines to help you get started:
    Idea Submission Guidelines
    Make sure your ideas are for the right client.  This idea board is for Skype for Windows desktop client, not Skype for Windows 8.
    Search before posting.  Do a quick search and make sure you are not submitting a duplicate. If the idea already exists show your support by giving kudos to the original idea rather than watering down the potential impact across multiple submissions.
    Review the ideas of others.  Look at other ideas to see what your fellow community members are requesting and feel free to exchange on them in the comments section. While we take into account the numbers of kudos an idea receives, we also consider the amount and quality of member feedback when making our decisions.
    Add value.  Vote for those items that you like and agree with by giving the idea a kudos. It's a way to recognize someone's effort and to signal to us how important the idea is to you. We are using votes and comments as a barometer to find out more about what our contributor community thinks is important, so we can factor this into our prioritization process.
    Submit a new idea. Adding an idea is just like posting a message on a board. To create an idea, click on the “New Idea” button, located on the top left side of the idea board.
    Be sure to enter a clear title and description of your idea so others can decide how they would like to vote. Be as clear as possible, tell us what your idea is. Remember to include how it would benefit users and why you think we should consider it as well as scenarios that you think the idea would be used it. That will not only help us to better understand what you want, but we may even be able to solve your problem more quickly another way. You can also preview your idea and check your spelling before you post the idea.
    You will need to select a label for your idea, you can choose from one of the following labels:
    Voice
    Tell us how you would change the calling experience in Skype when making voice calls to contacts or phone numbers.
    Video
    Video is one of the core functionalities of Skype, tell us how you would make it better!
    Instant Messaging & Contacts
    How would you make the messaging and contacts experience better?  You can also include ideas around how you would improve the main user interface of Skype within this label.
    Sharing
    Today you can share photos, videos, files or your computer screen using Skype for Windows desktop. What would you change or add to the sharing experience to make it better?
    Tips to draft your idea:
    Start with a clear title
    Include scenarios and use cases for how the idea would be used
    Add appropriate label(s)
    List features and benefits
    Keep it short and to the point
    Avoid tech speak
    Do not be discouraged if your idea was not selected.  Sometimes what seems to be a simple idea may not be so simple to build. Some ideas take longer than others, and some ideas will not be possible within the scope of what we want to accomplish in the next year or so.
    Be respectful.  Comply with the Community Guidelines and Skype etiquette.
    Rights to Feedback: Skype may or may not use your comments, ideas, or suggestions. Skype reserves the right to use for any purpose including commercial purposes, comments, ideas, suggestions, code, products or services (“Content”) that are posted on this community without any obligation to compensate the individual or entity that provided the Content. By posting any Content in the community, you hereby relinquish any right you may have in such Content and to any future compensation for publication, use, distribution, license or sale of the same. By posting Content, you represent and warrant that you either own or control all of the rights to that Content, and such Content does not violate any third party rights or these Skype Terms of Service. You agree that all opinions expressed by users of this community are expressed in their individual capacities, and not as representatives of Skype.
    Recent Feedback: We have gone through some of the recent posts on the Skype for Windows desktop board and gathered some of the improvement ideas posted there.  However we need your help to prioritize these ideas against other ideas that you may have.
    Frequently Asked Questions
    What is the Idea Board all about?
    Idea Board is a new part of the Skype Community, where members can share their ideas about existing products and services. Anyone in the community can see and vote on the ideas you post.
    We encourage you to give kudos and comment on submitted ideas as we are more likely to take the top kudoed and most discussed ones into consideration.
    How do I navigate the Ideas Board? 
    Finding your way around the ideas board is a pretty straightforward. Here are some of the things you will see to help you get around:
    New Ideas – The most recent ideas.
    Hot Ideas – The most popular ideas right now.
    Top Ideas – The most kudoed ideas.
    The sidebar widgets
    In the sidebar you'll find more ways to sort the ideas board, see new and popular ideas and the top rated contributors to the idea board. It's also really easy to filter ideas by status, for instance if you only want to see ideas that are “Accepted”.
    How to check if an idea exists already?
    Use the search function filtering by the ideas board – or click here (direct link to search function)
    What do the votes/kudos mean?
    Just as you can give kudos in the community boards and blogs, you can vote for ideas you like on the Idea Board. Ideas with high vote totals are more likely to be recognized and accepted by the teams at Skype who develop our products and services. You can also leave comments on ideas, but remember to be kind!
    What do the different idea statuses mean?
    We strive to review submitted ideas on a biweekly/monthly cycle. Each idea will go through a life cycle that will be assigned statuses at each milestone. The statuses are explained here:
    New Idea - Sparkly new idea, submitted by you, and ready to be vetted by the community.
    Comments Requested - Items set as Comments Requested will be open to the community for feedback and votes.
    Under consideration - Idea has been forwarded to appropriate business team who is determining feasibility.
    More information needed - More information is needed before our Product Management team can take this forward, please review the comments left by the team.
    Duplicate - Ideas in this status have already been submitted in some form or another. We will link these items over to the other idea so you can review the status or track the progress there.
    Already exists - This is available in the product. 
    Future possibility - Idea is a good one but not something we can include in a near-term product or software release.
    Accepted - Idea has been accepted and has been taken forward for implementation, check back soon for updates.
    Not right now - We like the idea but just not for right now, we will revisit it in the future.
    Implemented - You asked for it, we did it!
    My idea has been accepted. How long will it take to be implemented?
    Sadly, we will not be able to provide dates for the implementation of any accepted ideas within the community due to the number of factors involved. Please be patient and let us make sure it is completely ready before we make it available.
    How will I know if an idea has been implemented?
    You can track the status of your ideas as your ideas are sent to the people here at Skype who can make them happen and you will see the status of your idea is updated. We will be telling you if the idea is something we are working on now or would like to do in the future, or if it’s something that is not feasible for us at this time. To ensure you don’t miss any updates select “Subscribe” from the “Idea Options” menu when viewing your idea.
    What ideas have been implemented so far?
    You can check the "Accepted and Implemented ideas" topic which we will post once the first idea got implemented.
    Can I edit or delete my ideas comments?
    No, you can't. Be sure to check your spelling and preview your comment before you post it; you can't edit a comment once it's posted.
    Who moderates/ manages the ideas board and in what frequency?
    The community team is monitoring the board on the daily basis and product managers will come in on a bi-weekly basis to update statuses of the ideas and post their comments.
    If Skype decides not to pursue my idea, will you tell me why?
    We do not always provide the reasons for our decisions regarding ideas submitted for review but will strive to provide an explanation where possible.
    If I am not comfortable submitting my idea over the Internet, is there another way I can do so?
    No. Unfortunately we are only collecting ideas using the idea board at this time.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

    Wait!! If you about to post a reply to this thread this post is for you!
    You guys who have posted obviously have not read the first sentence of the long OP, let alone the whole thing.
    This is the wrong place.
    Post them here which is formatted for handling requests:
    http://community.skype.com/t5/Windows-desktop-client-Ideas/idb-p/Windows_Ideas
    If you are asking questions about skype issues this thread is really the wrong place lol. Getting an answer to yoru question will require a little effort on your part.
    First go here:
    https://support.skype.com/en/
    Read through that page, if you want to narrow it down and search, use the search.
    Since the search targets all skype forums, include which OS you are on.
    However since you all are probably on windows, click this link and use search or browse topics.
    Do not post a new thread without using search. Look for forum topics marked as [Solved]. Doing otherwise spams the forum and is globally known as inappropriate and poor forum etiquette.
    http://community.skype.com/t5/Windows-desktop-client/bd-p/Windows
    Thank you

  • G U I ( I need to add a gui) please help

    I am trying to design an implement a GUI for this program. This program should let the user input the interest rate, principle, and period, and should accumalate value of interest.
    * File: CDInterest.java
    * Tamar Thompson
    * Description: This application program illustrates the use of Java library
    * classes to perform certain useful calculations.
    * It uses the java.lang.Math class to calculate the principal of a
    * Certificate of Deposit (CD) invested at a certain interest rate for a certain
    * time period. It uses the java.text.NumberFormat class to format the numerical results
    * which represent dollar amounts and percentages.
    import java.io.*; // Import the Java I/O Classes
    import java.text.NumberFormat; // For formatting as $nn.dd or n%
    public class CDInterest {
    private BufferedReader input = new BufferedReader // Handles console input
    (new InputStreamReader(System.in));
    private String inputString; // Stores the input
    private double principal; // The CD's initial principal
    private double rate; // CD's interest rate
    private double years; // Number of years to maturity
    private double cdAnnual; // Accumulated principal with annual compounding
    private double cdDaily; // Accumulated principal with daily compounding
    * convertStringTodouble() converts a String of the form "54.87" into
    * its corresponding double value (54.87).
    * @param s -- stores the string to be converted
    * @return A double is returned
    private double convertStringTodouble(String s) {
    Double doubleObject = Double.valueOf(s) ;
    return doubleObject.doubleValue();
    * getInput() handles all the input required by the program. It inputs
    * three Strings and converts each to a (double) number, storing them
    * in instance variables (principal, rate, and years).
    private void getInput() throws IOException {
    // Prompt the user and get the input
    System.out.println("This program compares daily and annual compounding for a CD.");
    System.out.print(" Input the CD's initial principal, e.g. 1000.55 > ");
    inputString = input.readLine();
    principal = convertStringTodouble(inputString);
    System.out.print(" Input the CD's interest rate, e.g. 6.5 > ");
    inputString = input.readLine();
    rate = (convertStringTodouble(inputString)) / 100.0;
    System.out.print(" Input the number of years to maturity, e.g., 10.5 > ");
    inputString = input.readLine();
    years = convertStringTodouble(inputString);
    } //getInput()
    * calcAndReportResults() handles all the interest calculations and reports
    * the program's results. Note the use of Math.pow() to calculate the CD's
    * value, and the use of the NumberFormat.format() methods for making the output
    * look pretty.
    private void calcAndReportResult() {
    // Calculate and output the result
    NumberFormat dollars = NumberFormat.getCurrencyInstance(); // Set up formats
    NumberFormat percent = NumberFormat.getPercentInstance();
    percent.setMaximumFractionDigits(2);
    cdAnnual = principal * Math.pow(1 + rate, years); // Calculate interest
    cdDaily = principal * Math.pow(1 + rate/365, years*365);
    // Print the results
    System.out.println("The original principal is " + dollars.format(principal));
    System.out.println("The resulting principal compounded daily at " +
    percent.format(rate) + " is " + dollars.format(cdDaily));
    System.out.println("The resulting principal compounded yearly at " +
    percent.format(rate) + " is " + dollars.format(cdAnnual));
    } // calcAndReportResult()
    * main() creates an instance of the CDInterest object and then invokes
    * its methods to calculate the interest for a CD using values input by
    * the user.
    public static void main( String args[] ) throws IOException {
    CDInterest cd = new CDInterest();
    cd.getInput();
    cd.calcAndReportResult();
    } // main()
    } // Interest

    Then you are going to have to do a lot of rewriting, because GUI programs don't actively "get" input. (At least they shouldn't.) They passively wait until somebody keys some input into a field or clicks on a button. Have you looked at the Swing tutorial?

  • How to implement a General Ledger in Dynpro

    Has anyone tried to implement a general ledger in Dynpro using a table?
    In a general ledger, you want the time dimension going across the top in separate columns, and tracked items going down the left hand side.
    The trouble is, the Dynpro table only binds context elements to a column rather than having the option of binding to a row. I can see why this is, but it is still makes life difficult for me.
    Like the table, my data is coming in on a column by column basis with the first column being the date, followed by all the stock ledger items pertaining to that date.
    I want to display a full fiscal year on one page so this means having twelve columns for each of the fiscal months, and one column for the line item names (units sold, inventory, value of sales ... etc)
    One idea for implementing this was to create a generic structure containing twelve attributes. Each attribute would contain the values associated with a particular fiscal month. I would then create a node in my view context based on this structure and bind each column in my table to the corresponding fiscal month attribute in this structure.
    Upon loading the stock ledger data, I would create a series of node instances for each one of my stock ledger items and copy the data into the appropriate attribute.
    This procedure seems REALLLY complex and I am hoping there is someone out there who may have a simpler solution.
    Any suggestions?

    Just an adendum to this thread.
    I have now got the display working correctly for this application ...ie. the fiscal periods are displayed in columns and the attributes for each fiscal period are displayed row by row.
    Now I am faced with the challenge of update the data on the database once it is edited by the users.
    I can check the .isChangedByClient flag to tell which rows were edited but I also need to know which column(s) were edited since they contain the data that needs to be passed to my update routine.
    So far the only way I can think of implementing this is to maintain a parallel copy of the ledger and do a comparison of the "before" and "after".  With this information I generate my own list of edited columns.  YUCK!
    Perhaps if there was a validation event that was fired whenever a cell was changed then I could hook into that and maintain my own "isChanged" list of columns but I don't see anything like that.
    Any suggestions?

  • How to implement bapi for transaction code f-02 for multiple line items

    Hi All,
    I am having one requirement to of implementing bapi for tcode f-02.
    I have identified the name of the badi e.i.  BAPI_ACC_GL_POSTING_POST.
    but i dont have any idea how implement it.
    i have multiple line items for one header.
    Please help me in this.
    Regards,
    Shoaib.

    HI
    In recording once u save, the recording comings out the transaction.
    If u want the pop-up to display before save. Then in recording also
    after entering all data and before Save press enter or do check.Try
    this way after that save the transaction.
    Regards,
    Raghu.

Maybe you are looking for