Any ideas for this Swing application

i was asked to make a desktop application that takes use-cases as an input and the output should be a generated use-case diagram. the problem is that iam confused how to generate the use-case diagram using swing and awt. so if u have any ideas, it would be appreciated.
thanks in advance.

from the google images of what a "use case diagram" is,
this looks like a perfect job for NetBeans' Visual Library: [http://graph.netbeans.org/|http://graph.netbeans.org/]
this is a great video on the topic: [netbeans rcp video|http://www.parleys.com/display/PARLEYS/blueMarine?showComments=true]

Similar Messages

  • Problem transferring old iPhone 3GS to new phone 5S using computer.  The iMac which I've been using to back up 3GS for years does not seem to recognize the 5S.  No setup assist is coming on screen so I can't begin the transfer.  Any ideas for this?

    Problem tranferring old iPhone 3GS (ios 6.1.6) to new iPhone 5S (ios 8.1.2) through iTunes on my iMac computer  (OSX 10.5.8) . I have backed up the 3GS this way since purchase of 3GS.  The computer does not seem to recognize the 5S is there -- no setup assist is appearing on screen. Any ideas welcome.

    this may not be your problem my according to the tech specs on apple.com the 5s requires:
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 8; Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 11.1 or later (free download

  • ITunes will not download on my 64bit lap top. I have tried 6 times to download it.Does anyone have any ideas for this issue?

    I have tried 6 times to download itunes on my 64bit lap top. I keep getting error messages, and I have disabled the pop up blockers still nothing. Does anyone have any ideas?

    What do the error messages say? (Precise text, please.)

  • Any ideas for this situation?

    I have a application which allows users to enter information about a file and stores the information in an XML file of the same name.
    So, if I had a file at
    d:\myFolder\myFile.ext
    it would create the following xml file
    d:\myFolder\myFile.ext.xml
    As you can see, the xml file is saved in the same folder as the file. This is a problem, because if the file is on a CD or some other form of non-writeable media, the xml file cannot be saved (Ex. since I cannot write to a CD).
    I would like to create one folder where all these xml files can exist. This has 2 advantages. It will be able to write an xml file regardless of where the file resides(ex. CD). It won't clutter the folder of files with xml files.
    The trouble I am facing is dealing with uniqueness. How can I name an xml file, and ensure it has a unique name. I want to do this without creating subfolders within the one xml folder, and without creating rediculously long file names.
    Ex. If I have 2 files
    d:\folderA\myFile.ext and e:\folderA\myFile.ext
    What is the best way to make unique names for their xml files, which my program could easily interpret when scanning through the xml folder?
    My program currently works as follows:
    -Program opens a directory
    -Program sees if any files in that folder have an xml counterpart
    -Program informs user if the file has an xml counterpart or not

    get the String that represents the entire path to the file and
    call hashCode() on it. This will return an integer that is unlikely to
    map to two different files. If and when it does map to two different
    files put the XML information for both of them into the one xml file
    along with their entire pathname. You can then find the record of a
    specific file by calling hashCode() on the full path filename string and
    searching the list of entries in the xml file for the entry that matches.
    ( you may want to convert the resulting integer into hex)
    If you must have unique files you could use the same method and
    append (with a hyphen) an incrementing integer to the end of the hashCode() value.
    To find a file again you find the hashCode of its full filename and
    search the directory for all files with the same begining. Then search
    that list for the entry with the correct path in it.
    I would however use seperate directories. For example take the last
    two digits of the (hex) representation and use that to create a sub
    directory in which to put the files. Too many files in one directory
    can be a problem on some OS's (they won't allow it or it becomes
    very slow to search the dir).
    Another method is to replace all directory delimiters in the pathname
    with (for example) a hyphen and use the resulting string as a filename
    for the xml file. (most OS's have limits on the number of characters in
    a filename so this will probably not be platform independent.
    matfud

  • Any ideas for this Business requirement

    Hi All,
    Just wondering to see if any of you have encountered the following business requirement and if so how we can address it.
    Business Requirement:
    (1) Distribution Centers(DC Plant) maintains a relationship with the Factory(Production Plant) that can allow for the swapping of planned production of one product with the planned production of another product. This relation can allow for the partial or complete swapping of one unit of planned production with another in the group.
    Example: Product Group1 has 2 products underneath it- Product A and Product B
    n= Current period (Month)
    n+1= Next period.........
    After n+4 periods, the production qty are as follows:
    Prod qty@ Product A = 10
    Prod qty@ Product B = 30
    Hence the Production Qty@ Product Group 1 = 20+20 = 40 ( Aggregation of the prod qty from products to product group level)
    The swap of production can be btw Product A and Product B and should not exceed the total Production Qty for the product group
    Some examples can be:
    Prod qty@ Product A = 15
    Prod qty@ Product B = 25
    Total Prod Qty@ Product group 1= 40
    Prod qty@ Product A = 20
    Prod qty@ Product B = 20
    Total Prod Qty@ Product group 1= 40
    Prod qty@ Product A = 30
    Prod qty@ Product B = 10
    Total Prod Qty@ Product group 1= 40
    etc etc........lot of combinationsu2014The above examples are for understanding the requirement.
    However let us say the business determines a planned % of swap btw the products:
    Example:
    Total Prod Qty@ Product group 1= 40
    Swap % = 10%
    Then the new Production Qty with the Swap% are as follows:
    Prod qty@ Product A = 10 + (10*10/100) = 11
    Prod qty@ Product B = 30  + ( 30*10/100) = 33
    (2) The other requirement is that the ATP check of the Sales Orders should take into account the Production qty with swap% at the individual product level and also constrain it with the total production qty for the Product group
    Example: Let us say we have a
    SALES ORDER for Product A for Requested Qty=40
    SALES ORDER for Product B for Requested Qty=40
    The confirmation for the above 2 sales orders should be as follows:
    Confirmation for SALES ORDER for Product A =11 qty
    Confirmation for SALES ORDER for Product B =29 Qty
    The total confirmation is still equal to the original production qty for the Product Group= 40 qty
    Thanks
    Kumar

    Kumar
    I dont know what flexibility you have in building the solution - are you looking at a greenfield from-scratch solution or do you already have a ltechnical andscape that you need to work with ?
    If its the former then here is what might work -
    1. Using APO DP, you generate a 'Sales' Forecast (based on statistical models + adjustments). This is a statement of unconstrained independent demand, for the products they actually expect to sell.
    2. Using SNP, you (optionally) check the sales forecast for capacity.
    3. As part of the S&OP process, you make any adjustments in DP to develop a 'Consensus' (and optionally constrained) Demand Plan.
    4. Within DP, in the very near term you disallow any changes to the Consensus Demand Plan ('Frozen' Horizon) since it would be too late for manufacturing to react to changes. In the medium term ('Slushy' horizon), you allow changes only within the Product Group, using the swapping process you describe. Further out (Liquid horizon), you follow steps 1 through 3, with any changes acceptable.
    5. Usng GATP, you can use the same forecast created within step 1 or 4 to limit what can be ordered using Product Allocation.If the products within the product group are interchangeable from a customers perspective, then you can use Rules Based ATP to switch products.
    Rishi Menon

  • ANY IDEAS FOR THIS PROB

    THIS IS AS FAR AS I GOT - PROBLEM IS ON THE BOTTOM
    import javax.swing.JOptionPane;
    public class Rec
    public static void main (String args[])
         private String strLen;
         private String strWid;
         private float fltLen = 1;
         private float fltLen = 1;
         public Area ()
              return fltLen * fltWid;
         public Perimeter ()
              return fltLen + fltLen + fltWid + fltWid;
         public SetLength (String Len)
              Len = JOptionPane.showInputDialog(
              " Enter a Float Length: ");
         public SetLength (String Wid)
                   Wid = JOptionPane.showInputDialog(
              " Enter a Float Length: ");
         public GetLength (float Len)
                        return fltLen;
         public GetWidth (Float Wid)
                        return fltWid;
    System.exit(0);
    Create a class Rectangle. The class has attributes LENGTH and WIDTH, each of which defaults to 1. It has methods that calculate the perimeter and the area of the rectangle. It has SET and GET methods for both LENGTH and WIDTH. The SET methods should verify that LENGTH and WIDTH are each floating-point numbers larger than 0.0 and less than 20.0. Write a program to test class RECTANGLE.

    First, you'll need 2 source files. One should be Rectangle.java and another called RectangleTest.java (or something like that)
    The Rectangle.java won't contain a main method.
    import javax.swing.JOptionPane;Do you really need a JOptionPane or can you accept input from the keyboard in DOS mode?
    public class RecThat should be public class Rectangle
    public static void main (String args[])get rid of that - put it in the tester program
    private String strLen;
    private String strWid;
    private float fltLen = 1;
    private float fltLen = 1;get rid of the Strings - don't need them. Also, make the len and width fields doubles instead of floats and set them to 1.0;
    public Area ()
    return fltLen * fltWid;
    }that should be "public double getArea()"
    public Perimeter ()
    return fltLen + fltLen + fltWid + fltWid;
    }again, "public double getPerimiter()"
    >
    public SetLength (String Len)
    Len = JOptionPane.showInputDialog(
    " Enter a Float Length: ");
    public SetLength (String Wid)
    Wid = JOptionPane.showInputDialog(
    " Enter a Float Length: ");
    }re-write those set methods. They should be:
    public void setWidth(double width) {
    if (width < 0.0 || width > 20.0 )
    throw new IllegalArgumentException("Width not between 0 and 20");
    this.width = width;
    public void setLength(double len) { this.len = len; }
    (add the test for len between 0 and 20)
    public GetLength (float Len)
    return fltLen;
    public GetWidth (Float Wid)
    return fltWid;
    that should be:
    public double getLength() { return len; }
    public double getWidth() { return width; }
    >
    System.exit(0);
    }get rid of that.
    }Ok.
    Then you'll need a tester program:
    import java.io.*;
    public class RectangleTest {
    public static void main (String [] args ) {
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
    while (true) {
      System.out.print("Enter width: ");
      String width = input.readLine();
      if ("q".equalsIgnoreCase(width))
        System.exit(0);
      System.out.print("Enter length: ");
      String length = input.readLine();
      Rectangle rect = new Rectangle();
      rect.setWidth(Double.parseDouble(width));
      rect.setLength(Double.parseDouble(length));
      System.out.println("Area is : " + rect.getArea());
      System.out.println("Perimiter is : " + rect.getPerimiter());

  • Any idea for high display resolution in application sharing server ?

    Hi.
    I installed EP6 SP 13 with KMC and configure collaboration feature.
    I tested application sharing and It works.
    Then, I found problem.
    Problem is that application sharing server doesn't support 1400x1050 display resolution. (only works till 1280x1024)
    Is there any idea for solving this issue ?
    Regards, Arnold.

    Hi Arnold,
    I'm afraid this screen resolution is not yet supported. The official supported screen resolution is 1024x768 ! but as you stated it <b>can</b> work wit 1280x1024. You could open an OSS ticket and ask the KM Development for plans on supporting higher resolutions in application sharing and let us also know.
    Hope this helps,
    Robert

  • I bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    i bought an eBook from iTunes. I can view/read it perfectly on my iPhone but when I try to open the eBook file on my iPad, I get the error message, "Cannot open book. This book is protected by an incompatible technology." Any ideas for me? thx

    Welcome to the Apple Community.
    I have seen previous versions mentioned in a pop up message before on iCloud.com, but I'm not really sure at all how it would help, as I couldn't get it to do anything.
    The best advice I have at this time is to back up your work on your iOS device by regularly saving it to iTunes, if anything goes wrong you can then either load it into the numbers app again on the device or recover it via iTunes on your computer.
    My syncs are immediate, I never get chance to see if it works in the background, sorry.

  • When I compose an email in either gmail or yahoo, the cursor lags behind for about 2 seconds. This does not happen when I compose an email with Safari or Chrome. I am using a Mac with Firefox version 3.6.3. Any idea why this happens?

    When I compose an email in either gmail or yahoo, the cursor lags behind for about 2 seconds. This does not happen when I compose an email with Safari or Chrome. I am using a Mac with Firefox version 3.6.3. Any idea why this happens?
    == This happened ==
    Every time Firefox opened

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

  • When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    When I watch tv shows in Front Row that I've bought off iTunes the audio gradually falls out of sync with the video. It does not happen with other files that I have converted into mp4s. Any ideas for fixing this? It's a huge bummer...

    I too have the same problem.  The audio drop out of sync in about 5 sec in not uncommon for the audio to be 30+ sec behind video.  Apple needs to fix this!!!!!!!!!!!!!!!!   its a joke,  my iphone is all messed up after the last update as well.  at one time not to long ago apple products and software were top rated, not so much any more, more and more problems are showing up and apple is unwilling or unalbe to fix the many issues.  Apple needs to fix the audio sync problem, it not the computer hardware or other software it ITUNES!!!!,  there is no workaround other then hitting pause and hitting pause and hitting pause to temp fix the problem. 

  • I updated the software on my 2009 MBP to Mountain Lion. Since then, my iPhoto has been unable to open my photo library. I have updated iPhoto, and still no luck. Any ideas for fixing this problem?

    I updated the software on my 2009 MBP to Mountain Lion. Since then, my iPhoto has been unable to open my photo library. I have updated iPhoto, and still no luck. Any ideas for fixing this problem?

    Welcome to the Apple Support Communities
    Do you see any message when you open iPhoto? Try to open iPhoto holding Option key and select the library

  • When I try to sync my ipad using itunes I get the following message. This iPad cannot be synced. You do not have enough access privileges for this operation. Any ideas how this can be resolved?

    When I try to sync my ipad using itunes I get the following message. This iPad cannot be synced. You do not have enough access privileges for this operation. Any ideas how this can be resolved?

    See if the user tip helps: https://discussions.apple.com/docs/DOC-6562

  • I am trying to add a wireless printer and it keeps asking for an "Ipadmin" user name and password rather than my adminstrator password. Any ideas what this is??

    I am trying to add a wireless printer and it keeps asking for an "Ipadmin" user name and password rather than my adminstrator password. Any ideas what this is?

    OS X 10.7 Lion, 10.8 Mountain Lion & 10.9 Mavericks
    Reset Password starting from Recovery HD
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • Any idea what this function is meant for?

    DB version:10gR2
    Have you guys any idea what this function does?
    create or replace function separate_1
        in_list varchar2,
        in_del varchar2 := ','
    ) return split_tbl pipelined
    is
        l_idx    pls_integer;
        l_list    varchar2(32767) := in_list;
        l_value    varchar2(32767);
    begin
        loop
            l_idx := instr(l_list,in_del);
            if l_idx > 0 then
                pipe row(substr(l_list,1,l_idx-1));
                l_list := substr(l_list,l_idx+length(in_del));
            else
                pipe row(l_list);
                exit;
            end if;
        end loop;
        return;
    end separate_1;The comment for this functions says that this is used to split a string delimited by a comma separator. But i didn't understand this function. Can this functionality be achieved without a table function?

    user10450365 wrote:
    DB version:10gR2
    Have you guys any idea what this function does?Odd that. Apart from a couple of parameter name changes it looks almost identical to a function I posted a couple of years back...
    SQL> CREATE OR REPLACE TYPE split_tbl IS TABLE OF VARCHAR2(32767);
      2  /
    Type created.
    SQL> CREATE OR REPLACE FUNCTION split (p_list VARCHAR2, p_delim VARCHAR2:=' ') RETURN SPLIT_TBL PIPELINED IS
      2      l_idx    PLS_INTEGER;
      3      l_list   VARCHAR2(32767) := p_list;
      4      l_value  VARCHAR2(32767);
      5    BEGIN
      6      LOOP
      7        l_idx := INSTR(l_list, p_delim);
      8        IF l_idx > 0 THEN
      9          PIPE ROW(SUBSTR(l_list, 1, l_idx-1));
    10          l_list := SUBSTR(l_list, l_idx+LENGTH(p_delim));
    11        ELSE
    12          PIPE ROW(l_list);
    13          EXIT;
    14        END IF;
    15      END LOOP;
    16      RETURN;
    17    END SPLIT;
    18  /
    Function created.
    SQL> SELECT column_value
      2  FROM TABLE(split('FRED,JIM,BOB,TED,MARK',','));
    COLUMN_VALUE
    FRED
    JIM
    BOB
    TED
    MARK

  • Any ideas for a Birthday wishes video????

    Howdy folks,
    Thanks for taking a peak at this post. No technical problems--as of yet, but just wanted to hear from the crowd on some creativity with the apps.
    Any ideas for a background/slate to place behind people giving their best wishes to the birthday-boy?
    Editing on FCP, access to all of the CS applications--any thoughts on the matter would be appreciated.
    Thanks again for your time and have a great day,
    Liza

    Wow Bob,
    I can see that cowboy lasso/rope spinning on the top your head, but... watch out, I think you arm just hit your hat off your head... friendly.

Maybe you are looking for