Creating GUI's for simulators.

Hey all,
I am VERY new to Java. Can anyone point me in a direction to get more information on creating GUI's for simulators?
Thanks in advance.

Encephalopathic wrote:
overrule wrote:
Would your advice be extended to Jesus? I mean that he learn how to crawl before he tried to walk on water?I haven't learned that prog language.It's more about IQ isn't it, but okay, I'll give it to you in easily understandable terms - if you're dumb shut up.

Similar Messages

  • Creating GUI interface for cof

    I am attempting to create a GUI interface on Labview that will read the measurements from a load cell ( Futek model L2331) that is connected
    through a DAQ interface and  will output Coefficient of friction measurements vs time.  I would also like to be able to save the data to a file (eg...excel). 
    Can anyone help me out with this?
    JC

    What I suspect you need, more for comparison than anything else, is the Force in Newtons not the strain in µ strain.
    So one technique is to leave the input in volts and then figure out how many grams of weight gives how many volts from the load cell, and applying the necessory factors to give the force in Newtons unless of course your working in Christian units (lbs force).
    Either way, strain or volts you are going to have to calibrate the input. Unless the factors are all ready supplied. to arrive at the following
    "The
    coefficient of friction is simply µ =  Fspring /Fnormal
    =  Fspring /(mblock ·g
    ), g=9.81 m/s²"  Notice that there is no mention of strain here but force.
    Strain is defined as: - "The relative deformation of an object subjected to stress. Hence, strain is dimensionless."
    Don't forget to get the sense of compression and tension correct for the displayed units.

  • GUI status for report

    Hi,
        I had created GUI status for output list in one report. its status is active in program but in report output this created status is not activated (Menu bar, application toolbar). Has anybody face this kind of problem before?
    Regards,
    Dilip

    hi,
    use command
    SET GUI-STATUS 'menu1' -> double click on menu1 ->select menu bar radio button from available radio buttons -> click on expand butt0n -> select required buttons n give function codes n select user-command optionfor those buttons ->activate -> back ->activate the report prgm.
    i think in our case you didn't activated the menu painter screen. check it once n dont forget to assign f.code n to give user-command after giving static text for buttons that u will use in prgm.
    if helpful reward some  points.
    with regards,
    suresh babu aluri.

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • Creating Model Interfaces for GUI Layer

    I'm trying to avoid directly using a class from my model layer in my GUI. But I need to use a method in my class lets say, "setPropertyFoo(object)". So is it worthwhile to create an interface for my class, have my class implement the interface, and then use the interface in my view layer just for this one method? And the broader more general question is, is there a point at which one should not create interfaces? Are interfaces, though a standard of proper OOP programming, ever a symptom of an underlying poor design structure if they are needed in some way? I would hope not but I'm still learning.
    // Model layer
    public class MyClass implements MyInterface
         private Object foo;
         // For simplicity
         public void setPropertyFoo(Object obj)     
              foo = obj;
    public interface MyInterface
         // Just this...Just this one method...
         public void setPropertyFoo(Object obj);
    // View layer...
    MyInterface face = Factory.createMyClass();
    public void valueChanged(ListSelectionEvent event)
         <.....>
         face.setPropertyFoo(list.getSelectedValue());

    Your response sounds sensible to me. Thanks.
    Part of any piece of software will be about behavior.
    Part will be about data. Face it, a lot of what
    software does is move data around. IMHO, at boundaries
    between layers or modules (e.g. the DTO/DAO/VO for
    moving data between a database and your program), or
    wherever conversion occurs (to/from XML for instance)
    you may need some getters and setters.I agree.
    I try to avoid get/set in my code, but if I find I'm
    writing a whole bunch of goop just to achieve that
    grail, I stop and think about whether concealing that
    particular object's state really needs to be
    sacrosanct. And when I do provide access to that data,
    it's not just blind get/set that sets or returns any
    and all fields directly.This is helpful. It makes me think that there may be alternative means of achieving the same end without directly calling "set" on a field. Interesting.
    Off the top of my head, if
    you're doing a lot of passing objects as parameters to
    methods that just call getters and setters and act on
    the results, as opposed to saying
    object.doSomethingThatModelsABusinessAction().This is helpful too. I think I see what you are saying here.
    Using my example in the first post, I could modify it and say...
    // View layer...
    MyInterface face = Factory.createMyClass();
    public void valueChanged(ListSelectionEvent event)
         face.selectionResponse(list.getSelectedValue());
    // Then the model class...
    Public class MyClass implements MyInterface
         private Object foo;
         // For simplicity
         private void setPropertyFoo(Object obj)     
              foo = obj;
         public void selectionResponse(Object obj)
              setPropertyFoo(obj);
              // At least this gives the object more control
              // over whether or not to set the property at the
              // selection...
    }But I also appreciate what you've shared about the danger of the extreme point of view. From just what I've tried, I've been able to determine that it is possible to twist up a simple application and create more design flaws by attempting to eliminate each and every set or get method. So It's reassuring that I can leave some in where it makes sense to do so.

  • Webinar (Aug 11): How to create Cross-Platform Automated GUI Tests for Java Apps

    Join Squish expert, Amanda Burma, and learn how to create cross-platform automated GUI tests for your Java applications!
    Register here (multiple time slots)
    August 11th 2014
    Duration: 30 minutes plus Q & A
    This webinar will cover:
    General Squish for Java overview
    Automating BDD Scenarios
    Executing Cross-Platform Automated GUI Tests
    Interacting with Java application objects, properties & API
    See you there!
    Unable to attend? Register and we'll send links to future events and access to our webinar archive following the event.
    Webinar schedule
    Learn more about Squish
    Evaluate froglogic squish

    <property name="messaging.client.jar.path" value="Location in your local drive" />
    <property name="messaging.client.jar.name" value="nameOfYourFile.jar" />

  • How to create transaction code for a Z-table

    How to create transaction code for a Z-table?
    Se93 --> then which radio button to be selected? and what is the program nam e to  be given

    Hi Sam,
    <b>Procedure to create a TCODE for ZTABLE:</b>
    Create a table maintainance/View for the Z* Table.
    Once you create the view goto SE93>Select Parameter transaction and give the short desc.>
    Give the transaction as SM30(Skip the first screen-optional)>Check all check boxes under GUI support>In the default values(grid)section first row give the VIEWNAME as you created initially and the second row UPDATE as X.
    <u><i>Se93 --> then which radio button to be selected</i></u>
    Select the parameter transaction as a radio button.
    <u><i>what is the program nam e to be given</i></u>
    no need to give any program name. Instead you have to give the transaction code name as SM30.
    Pls mark the helpful answers.
    Thanks
    Eswar

  • Error while creating logical port for Reporting

    Hi,
    In one of the training materials for Duet Enterprise, i saw the steps for creating logical port for the consumer proxy /IWTNG/CO_PXY_RECORDS_REPOSITO.
    When i am trying to create the logical port, i am getting an error saying,
    " SRT Framework exception: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:500 Native SSL error
    https://<server:port>/_vti_bin/OBAFileReceiver.asmx?wsdl "
    I would like to know is it really necessary to create this logical port for "Reporting Scenario" and is it not created automaticallly using the Installation Wizard??
    And in case it has to be created, how to resolve this SRT framework exception?
    ~ Ramanath.

    Hi,
    the consumer proxy  /IWTNG/CO_PXY_RECORDS_REPOSITO was used in Duet Enterprise SP01. Now with SP02 the consume proxy /IWTNG/CO_OBAFILE_RECEIVER_SOA is created.
    However, the SSL error that you are getting looks a little strange (it does not mean that there is an error, but it is worth checking):
    So can you go to SOAMANAGER -> Service Administration -> Single Service Configuration. In here select "Consumer Proxy" from the "Search by", Search Pattern "/IWTNG/CO_OBAFILE_RECEIVER_SOA" and Field: Both.
    You should find one entry. Select it and click "Apply Selection".
    Now go to the Configurations tab. Here you should see one Logical Port with name "LOGICALPORTFORREPORTING" with Creation Type "Manually Created". In fact this logical port was created by the Wizard.
    Click on Display and scroll down again. Now in the "Additional Information" tab there is a string after HTTP Destination, e.g. 0050568E3F5A1ED096F22339C44BAF83.
    Copy this value and go to your SAP GUI -> Transaction SM59.
    Here click on Find/Search and search for this HTTP Destination. You should find one Type G RFC Destination that has the target host of your SharePoint server and the path prefix /_vti_bin/OBAFileReceiver.asmx.
    Now you can test the service. Just click on Connection Test. The result should be a HTTP Response: 200.
    If not, then something went wrong with the automatic configuration and we should take another look at it (for example maybe the SSL certificate from SharePoint that was imported by the Wizard is not valid)
    Regards,
    Holger.
    PS. Don't use the "Ping Web Service" test from SOAMANGER -- unfortunately this is not working consistently.

  • Creating a texture for a rounded window

    Hi.
    I'm creating a simple gui on a game framework based on lwjgl and I have a problem.
    Almost every window has a solid black texture as a background. I came up with a idea to make corners rounded. At the beginning I created gif picture of a rounded square and used it as a background texture. But it wasn't a good idea, because the corners had different sizes depends on windows sizes (and how much texture was stretched). I've decided that I have to create a texture dynamically every time a window is created.
    public void makeBackground() {
            // the texture size must be multiply of 2
            int tWidth = 2;
            while (tWidth < getWidth()) {
                tWidth *= 2;
            int tHeight = 2;
            while (tHeight < getHeight()) {
                tHeight *= 2;
            Texture t = new Texture(getWidth(), getHeight()); // new texture is created with width and height same as the window size
            int px, py, ox, oy; // some variables
            final int pw = getWidth(),  ph = getHeight(),  hww = tWidth; // as above
            ByteBuffer bb = t.getData(); // blank texture is converted to a byte buffer
            Utils.startStoper(); // start timer (for a benchmark)
            try {
                for (int p = 0;; p++) {
                    px = p % hww; // get the X of the pixel
                    py = p / hww; // get the Y of the pixel
                    ox = ROUND_ANGLE - Math.min(px + 1, pw - px + 1); //  ox = <0, 32> if near corners
                    oy = ROUND_ANGLE - Math.min(py + 1, ph - py + 1); //  as above
                    bb.put((byte) 0); // r = 0
                    bb.put((byte) 0); // g = 0
                    bb.put((byte) 0); // b = 0
                    if (ox > 0 && oy > 0) {  // if near corners
                        double hypot = Math.hypot(ox, oy);
                        if (hypot > ROUND_ANGLE) { // if outside the corner
                            bb.put((byte) 0); // apha = 0
                        } else if (hypot > ROUND_ANGLE - 1) { // if on the corner edge
                            bb.put((byte) Math.round(
                                    (ROUND_ANGLE - hypot) * 200));
                        } else {
                            bb.put((byte) 200);  // if inside the corner (200 is a max value cause the whole window is a bit transparent)
                    } else {
                        bb.put((byte) 200); // inside the window
            } catch (BufferOverflowException ex) {
            Utils.stopStoper();  // stop timer
            t.setData(bb);   // set data for a texture
            super.setImage(t);  // set texture as a background
        }And here we have a problem. The whole method takes about 70ms for a window 200x200.
    I can do it in another way: create a pictures of a rounded corner and a black box. The box would be the window inside and the corner would loaded 4 times each time rotated. Only the box would be stretched then. But I would have to override all methods of a window (setX, setY, setXY, some more).
    Any ideas?
    Thanks.
    Edited by: tom_ex on 2009-02-17 16:58

    Hi Tom,
    I haven't used lwjgl, so hope the following helps:
    1- What does it matter if it takes 70ms. Your windows will be created once. At that point juste create the texture for that window and store it until you destroy the window. The penalty hit is 70ms but only at the initialization.
    2- You are drawing a pixel at a time for everything. Why don't you calculate the area of the corners and only draw the corners a pixel at a time. For the rest, draw some filled polygons.
    3- The java Graphics object has method fill methode that can take any Shape object. Why don't you use that?
    I would use a combination of 3 and 1.
    Hope that helps.
    Ekram
    Edited by: ekram_rashid on Feb 18, 2009 2:21 PM

  • Creating Recovery Discs for Win 7 - When Win7 Pro 64 is Preloaded from Win 8.1 Dowgrade Rights ?

    Novice questions:
    1. What is the proper procedure for:
    Creating Recovery Discs for Win 7 Pro 64 - When Win 7 Pro 64 is "Preloaded by Lenovo from Win 8.1 Dowgrade Rights" ???
    2.  Will I then be able to use these Win 7 pro 64 - Recovery discs in the future should I need to "clean install Win7 Por 64 on the computer again ?
    3.  Also, If I use an Imaging Pgn like - Paragon Backup and recovery will I be able to reload win7 image and have win7 activated automatically just be restoring the Paragon backup image ? 
    JosephB
    T61 6459-CTO - 15.4 WXGA - XP SP3
    Solved!
    Go to Solution.

    JosephB wrote:
    ... BTW, when you perform the - Weekly "Macrium - Image Backups", do you backup to a local USB cable connected External Usb Drive or wireless wifi connected to a NAS Drive ?
    I have a Verbatim 2TB external USB 3.0 drive plugged into the PC.  It's used for both my weekly image backups as well as my nightly data backups.  I have one of these on EACH machine in my environment, for backups local to that machine.  I also use them on machines I build for friends and family, as everybody needs a backup system for "priceless data".
    Actually, to be a bit more complete, my "data" backups consists of two parts: (1) 1st-of-the-month FULL backups of all my data, and (2) nightly INCREMENTAL backups which handles anything created/changed in the past 24 hours.  Thus a "backup set" consists of the beginning FULL backup coupled with the ever-growing throughout-the-month set of nightly INCREMENTAL backups.
    NovaBACKUP can handle all of this if you need to recover something, so you yourself don't need to know exactly which backup file your file is located on.  You simply identify the folder/file(s) you wish to recover, and the AS-OF date you want for that file (with "as of the latest version available" being the default).  If you want to recover an older version than the most current version, you simply slide a GUI time-slider backwards until you arrive at the as-of date you desire.  NovaBACKUP then figures out where the most current version is AS OF THE DESIRED DATE, and accesses that one-or-more backup files in order to complete your task.
    I retain multiple "backup sets" (going back 4 complete months), so I can recover any folder/file(s) I had available on any specific night during the past 4 months.  Most commonly of course it's typically "get me the most current version available as of last night", but just in case that version is corrupt or I truly want an earlier version, I can get it easily.

  • XI for create web servicies for SAP R/3 4.6C

    Hi All,
    we are implementing PM (Plant Management) module of SAP R/3 4.6C and we have the necessity to create web services for some PM functionalities. Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI. Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly. So we think to use SAP EP.
    Which is your opinion about this architectural scenario? Is it possible to fulfil the requirement of our business users with a more simple architectural solution (for example with WEB DYNPRO)?
    Many thanks in advance for your collaboration.
    Regards,
    Bob

    Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI.
    TIBCO is another middleware. So once you expose your R/3 functionalities as web service, you may directly use TIBCO to integrate and XI won't be required at all.
    Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly.
    WebDynpro application would provide you an easy GUI and could act as Soap client as well to send data.
    Regards,
    Prateek

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

  • Creat transaction (se93) for Globa class in ABAP Objects

    Hi experts,
           Can any one tell me how to
    creat transaction (se93) for Globa class(se24)  in ABAP Objects
    if ,please assest me how to do it or send me example docu on this
    best Answer will be rewarded
    regards
    fareedas

    hi
    se93->give your transaction ->enter create.
    check the radio button (Method of calss(OO class).press enter.
    in next screen.
    transaction text ;give your own description
    tick the check box OO transaction model.
    give the class name method name which u have created in se 24.which was activated successfully.it should be activated otherwise it will not work.
    under GUI SUPPORT.
    TICK the all 3 check boxes.
    SAP GUI  FOR HTML
                            JAVA
                           WINDOWS.
    then save.
    u should b saved in package(don't forget).
    it was working.
    i have already checked and did it succesfully.
    reward points
    if u have any queries let me know.
    kiran jagana

  • Creating web transaction for sub screen modulr pool

    Hi Experts,
    I am working with SRM . I have crated a module pool program which contains one main screen (9000) and two subscreens (9001, 9002 ). Also one subscreen area ( SUBSCR ). I have created two buttons in the main screen , button1 and button2. When I click on button one 9001 subscreen will appear in the subscreen area and when I press button 2,  9002 subscreen will appear in the subscreen area SUBSCR.  this transaction is working fine in R/3 system. I have created a service in SICF. I need to write the coding in template. I have never written HTML coding for this type of problem.
    Please give me the sample code for the above case.
    thanks in advance
    sankar

    Hello Sankar,
    If you already created this transaction and it works in the R/3 system then just follow the "Creating Internet Services" steps in the ITS help:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/53/302068f84311d4969300a0c94260a5/frameset.htm
    Or you could do it manually:
    1. create a new service in SICF
    2. make sure the "GUI link" is yes
    3. the parameters need to have:
        ~generatedynpro 1
        ~transaction   Z<transaction code>
    4. Activate the service
    That is probably the simplest way, let the ITS dynamically create the HTML for you.
    Edgar

  • Creating GUI based Help File!!!

    Can anyone point me to a resource where I can find information for creating Help for a GUI based application? I know that javadoc can create API specification for standalone programs but I like something for GUI based application like the one found on MS Word under Help menu.
    Need help plz.
    --DM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    If anyone is trying to find out how DM777 implemented help. I would guess that he found JavaHelp.
    Here's a search to get you started
    http://onesearch.sun.com/search/developers/index.jsp?and=javahelp&nh=10&phr=&qt=&not=&field=&since=&col=javadoc&col=javatecharticles&col=javatutorials&col=devarchive&col=devall&rf=0&Search.x=0&Search.y=0

Maybe you are looking for

  • External Display won't work in clamshell mode

    Hi - I can't get my external display to work with the MacBook in clamshell mode - It works fine with the lid open. I'm using it with the apple bluetooth keyboard and mouse. I've obviously changed a setting without realising - can anyone help. Thank Y

  • How to set space between the fields in SearchPG- Display issue

    Hi Friends I Have created a searchPG with a QueryRN , In my searchPG i have some display issue after running the page its looks like this For Example assue its a page with 3 field and one table region Employee no Employee name Phone no ResulttableBut

  • Comments in Forms

    A couple of questions about comments. I have always assumed that comments are eliminated by the compiler and so do not affect the size of the fmx file, and so cannot affect runtime performance. Can anyone confirm whether this is true ? Doe anyone hav

  • HT201280 How can I rotate a table in "Numbers" ?

    I have 'Copy'd a 'chart' to a second sheet, rotated and expanded it for higher resolution and ease of reading. I then copied a small 3 column x 2 row table, which is linked to the main chart table on sheet 1, onto the chart in sheet 2, showing (and u

  • How do i find the key to open icloud

    how do I find the key to open icloud