GUI ideas...help

Hi,
I'm pretty comfortable with java but haven't ever written any gui code. I've got these somewhat complex spatial analysis classes, algorithms etc. completed that all work but I was thinking it would be nice to add a gui to them for visualization. All I really need to be able to do create an x,y axis and be able to then display x,y point pairs on screen wherever they belong. Ideally I'd also be able to connect points with line segments and resize the scale of the x and y axis depending on the point distribution. In any event, could any give me some very basic guidance as to where I should start? I assume I can completely seperate form from function such that I can write my gui classes seperately? Any ideas? Is Swing my best bet? I'm on a mac using eclipse if that makes any difference. Thanks in advance.

Swing is definitely a good solution. To start, you should try the Swing Tutorial at :
http://java.sun.com/docs/books/tutorial/uiswing/TOC.html
Then, for the plot thing, you could use JFreeChart or JPlot. I haven't tested any of them.

Similar Messages

  • Sorry -- another GUI IDE post!

    Hi all,
    I have scoured the forums and the web to answer my own question so this may turn out to be little more than a comment/rant...
    I work in a small team of developers, using mostly Java on the server and a combination of HTML, Flash and Win32 on the front end; something's missing: I reckon Swing is the ideal face to an increasing number of our applications but, although I am comfortable with hand-coding interfaces, I have to work to designs from my colleagues who are happy prototyping in Flash or VB (for VB or C++ apps) but cannot get to grips with any of the Java GUI IDEs I have tried to promote (Forte, JBuilder in particular).
    If a simple-to-use Swing GUI designer/editor exists, even if it's not a great environment for technical development, there are dukes waiting for the person who points me in the right direction.
    The novelty factor of proving what can be done with Flash is wearing off fast and Win32 just isn't appropriate to more and more of our clients so somebody please help!
    Chris.

    Hia,
    I've had a similar problem to you, and have tried all of the Java GUI builders I can find, including Forte, JBuilder, J++, Visual Age ....
    Eventually I just had to settle with Sun one studio 4 CE, (used to be called forte, but is newer), because it provides a good form editor that generates pure java that runs on any java VM, unlike J++ and Visual Age. The way I use is to use null layouts most of the time to create the prototype user interface, then try to implement this using the other layout managers. However, the latter seems to take ages, and is very frustrating with the available managers. Often I will just settle for the null layout, which provides the desired layout, albeit static.
    Well, anyway, that's all I can say really. If you have found another GUI builder that you really like, could you let me know too?!
    Thanks in advance - Edd.
    [email protected]

  • SAP 4.7 IDES help files

    Hello All,
    I have 4.6c IDES help files but can somebody post the link for 4.7 IDES help files please? Otherwise please let me know  if they are available from somewhere like by ordering from SAP shop etc.
    Thanks and regards,
    Bhupendra

    Hi,
    In my opion, IDES 4.7 is 4.7 with transaction and demo data inside.
    So Online help is not thing if you are concerning about it.
    The best way for you to learn, is how to use display transaction data in IDES, and most important of all how to use technical document in IDES.
    So help for IDES 4.7 is not worthy for SAP to make a new help package. I hope I am explaining in right way.
    Hope this help.

  • Ides help

    Dear All,
             Could somebody tell me the link to download SAP IDES 4.6C OR ides 4.7 help. I have the IDES 3.1 help. The reason i am asking for ides help because it contains configuration demos and also some screen cams. Please help me.
    I need to download it.
    Regards,
    Vikas Madaan

    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    Please reward and close the post.
    Srinivas

  • Air application shows no GUI, any help?

    Hi all,
    I built and run an AIR application in  Flash Builder 4 IDE. The code works fine, the application runs and there is no error or warning. The GUI shows up okay and there is no any error when I  run "Export Release Build"  to create the myApp.air to make the application installable.
    With the myApp.air file, when I install this application, the installation goes okay but when I run the installed myApp application nothing shows up. I mean no GUI. If I check the task manager, the app seems running there as a process.
    This whole thing remained the same when I used FLEX Builder 3 as well as when I used command line build.
    Please help me resolve this problem.

    KGLAD, I appreciate your time and suggestions.
    I am sorry but I think I was not able to make my problem clear to you or may be didn't get you quite well.
    I have an application which runs fine when I build and run it in the IDE.  There is no error or warning at all.
    I can export this application to application.air without any error or warning.
    The main problem is - after I install the exported application.air app, nothing shows up. If I check in the task manager, the app seems running as a process.
    I can see all the required files loaded in the application.air package when I open it as a zip folder.
    Please tell me what things should I try to trace and when and where? Also share me some ideas on how to fix it.
    For your info:
    This app is AIR 1.0 app compiled with flex sdk 3.0 in Flex builder 3
    The problem remains same if I use flash builder 4 or do the command line compilation with adl and adt.
    I am using windows vista OS [Business Version].

  • My file no longer works... any ideas/help?

    I'm pretty new to FC and am doing this project for class (I'm a Media Arts student at the University of Montana). I completely finished the project and when I went to save FC crashed, now FC crashes everytime I open the file.
    I'll attach if anyone wants to look at it. Any help would be greatly appreciated.
    -Kyle

    Hi Kyle,
    I took a look at your file and the problem is your "Button16" component is self-referential: it looks like you dragged a Buton16 into the skin definition of Button16 itself.  So each Button16 contains another Button16 which contains another Button166 which contains... you get the idea.  Catalyst should be preventing you from doing this, but in beta 2 it doesn't.
    I've hand-corrected the code in your project, and it now opens correctly.  I've attached the corrected FXP -- let me know if it works for you.
    The file is still pretty slow to open, though, I suspect because you have so many states.  One thing you could do to cut down on this is to use an Action eqauence to show/hide your dark gray video popup rather than having a separate state for each possible place it could appear.  This should basically cut in half the number of states you have, making not only it faster but also easier to do editing (since you don't have two copies -- with video and without video -- of each state to keep in sync with each other).
    Hope that helps,
    - Peter

  • 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

  • Test GUI Exception----help!!!!!!!!!!!!!!!!

    I run the junit test case from dos after typing
    "java junit.swingui.TestRunner MoneyTest"
    Before running the test case in the junit sample fold, i set the Classpath which include one fold named "test", then i copy the sample of MoneyTest into this fold to try Junit, but the result is :
    GUI appears and i also can use the Test Selector search all the Test Cases from the fold "test" ,but in Dos window shows following Exception: (GUI of course can not run)
    Exception in thread "main" java.lang.NoClassDefFoundError: MoneyTest (wrong name
    : junit/samples/money/MoneyTest)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at junit.runner.TestCaseClassLoader.loadClass(TestCaseClassLoader.java:1
    04)
    at junit.runner.ReloadingTestSuiteLoader.load(ReloadingTestSuiteLoader.j
    ava:9)
    at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)
    at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86)
    at junit.swingui.TestRunner.runSuite(TestRunner.java:591)
    at junit.swingui.TestRunner.start(TestRunner.java:708)
    at junit.swingui.TestRunner.main(TestRunner.java:52)
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: MoneyTest
    (wrong name: junit/samples/money/MoneyTest)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at junit.runner.TestCaseClassLoader.loadClass(TestCaseClassLoader.java:1
    04)
    at junit.runner.ReloadingTestSuiteLoader.load(ReloadingTestSuiteLoader.j
    ava:9)
    at junit.runner.BaseTestRunner.loadSuiteClass(BaseTestRunner.java:193)
    at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:86)
    at junit.swingui.TestRunner.runSuite(TestRunner.java:591)
    at junit.swingui.TestRunner$9.actionPerformed(TestRunner.java:283)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    I dont know where problems happened??? Thank you for any help!!!!
    Alonso

    I run the junit test case from dos after typing
    "java junit.swingui.TestRunner MoneyTest"
    Exception in thread "main"
    java.lang.NoClassDefFoundError: MoneyTest (wrong
    name
    : junit/samples/money/MoneyTest)
    I dont know where problems happened??? Thank you for
    any help!!!!See the part in the exception about where is says "wrong name"?
    It means you used the wrong name (surprising how that works.)
    See the section after it where is says "junit/samples/money/MoneyTest"?
    That tells you that it couldn't find the name that you gave it, but that it did find a name called junit.samples.money.MoneyTest.
    It is up to you to figure out if you really wanted to use junit.samples.money.MoneyTest or if you made a mistake in something else.

  • Need IDE help for Xcode 4.1

    Hi all,
    Not sure where to ask this question but out of all the choices I chose this area. 
    I am trying to learn to program the mac starting out with the basics of C.  I got a hold of a book, "Learn C on the Mac" by Dave Mark.  It's a great book but unfortuantely, it explains from the perspective of xcode 3.1.  The IDE is way different than the latest that I'm currently running for Lion OS.  Until I know how to utilize the IDE from xcode 4.1, I can't get off the ground trying to learn the basics of C!
    The first thing I'm prompted once I invoke xcode 4.1:
    Product Name:
    Company Identifier:
    Bundle Identifier:
    Type: C(is one of the options)
    Can anyone who has code experience and understands 4.1 IDE, explain what I need to enter into these fields just to get the c programming done, i.e., print "hellow world!".  Thanks.
    p.s I tried looking at the help and pop ups for they're as creptic.

    Apple update Xcode far more frequently than book authors can write new editions. Saying that there are now some XCode 4 books out but probably not yet any XCode 4.1 specific ones.
    Here are some XCode 4 books
    http://www.amazon.com/Xcode-Developer-Reference-Richard-Wentk/dp/111800759X/ref= pd_cp_b_1
    http://www.amazon.com/Mastering-Xcode-4-Develop-Design/dp/0321767527/ref=sr_1_1? s=books&ie=UTF8&qid=1318850777&sr=1-1
    http://www.amazon.com/Sams-Teach-Yourself-XCode-Hours/dp/0672335875/ref=sr_1_34? s=books&ie=UTF8&qid=1318850846&sr=1-34

  • Stolen iPod...Ideas, Help, Suggestions,...Sympathy

    Hi All!
    Bad news and good news. I own two identical iPod Touches, one for home and one for work. The one from work was recently stolen. I have an idea who, but can't prove it. Anyway, this person has downloaded a "free" app because the A Store sent me a receipt, being as its tied to my account and all. They don't have my password so they can't download any "paid" apps thank goodness. Which leads me to ponder, why doesn't Apple require a password for ANY installations on your iPod? Also, if this is the person I think it is, they have a Windows (spit) machine at home. So if they plug my iPod in there then Windows (spit) won't recognize the Mac format I believe.
    Is there a way to de-authorize my main account for that particular iPod by serial number, etc.? Maybe thru iTunes so that any downloads from that iPod will not be tied to my account.
    Is there a way that you could use a Windows (spit) machine to extract a Mac formatted iPod's mojo? Music, Notes, etc.
    How close do the two iPod's have to be for me to use peer-to-peer? I have the latest OS but don't have any PTP apps installed. Is there another way?
    Is there any other way that this could be worse for me? I have already changed my home WiFi passwords, etc.
    Now for the good news. My Plant Manager wants to replace my iPod! Great!! I'm all for that....but I still wish I could somehow nuke my stolen iPod like I can my iPhone.
    Any help would be greatly appreciated. Thanks.
    pwilson

    Password protection was enabled about 90% of the time but there were times when I would disable it to let someone use it. I am the ONLY Mac user of over 150 employees at my plant. (Coal-Fueled Power Generation). These folks buy Zune's and such and laugh at how much I pay for Apple products, but everyone wanted to try it out and I didn't want them to hassle with a password so there were times that I would leave work and it be disabled but still securely kept or so I thought. It was stored in a locked office, inside of a locked drawer, inside of a locked storage cabinet and there was really no personal info kept on it just mainly music.
    I have tried to contact Apple a couple of times but as usual am having extreme wait times....longer than my patience or my schedule will endure unfortunately. I'll try again later or email.
    I am interested in knowing how easily a Mac formatted iPod can be "cracked" with a Windows machine. I am not familiar with any file restoring or recovering apps, etc., for Windows. It may not even be possible.
    I do though, wish that Apple would require a password to download and install ANY app, paid or free....maybe add that feature in the preferences. And also permit an iPod to be de-authorized online without that iPod being connected. (Forbidden from purchasing or downloading any files through an Apple account.) I'll pass this suggestion along to Apple.
    Thanks for the replies.

  • Error when setting the path in KAWA IDE Help !!

    I am using SDK 1.4 and KAWA IDE .. when i set the path ... it showing an error message...also when i complile it shows correct the bin ,lib settings wht i do....... help me...

    thnks replysssss i got corrected by mine itself
    thnks

  • Images not appear when using SUN IDE. help !

    I have the Sun IDE, and I have a problem. The problem is : when I compile using this IDE, Images do not appear.
    But when I compile using another IDE such as JPadPro, images appear well.
    Thank you !!

    [url http://forum.java.sun.com/thread.jsp?forum=10&thread=486965&tstart=0&trange=15]Please post enough code that someone can figure out what it is you are trying to do and what you have done.
    [code]public class SomeThing { // YOUR CODE HERE
        private Some some = new Some();
        public Thing thing = new Thing();
        public SomeThing() {
            doSomething();  // do something!!!
        public void doSomethng() {
            some.thing();
            thing.doThatFunky();
    [/code]
    Use code blocks to make your code more readable. (See [url http://forum.java.sun.com/features.jsp#Formatting][Formatting Help] on the page you post on.)

  • Gui optionpane help!!

    hi, i need some help with the optionpane component in java gui, in the option pane i need to list the strings in the array called test ( i have labelled the place where they need to go as the word "something"), can anyone assist?
    try {
          // Create a FileReader and then wrap it with BufferedReader.
          FileReader file_reader = new FileReader (file);
          BufferedReader buf_reader = new BufferedReader (file_reader);
          do {
             String line = buf_reader.readLine ();
             if (line == null) break;
          if(line.startsWith("busl")){String[] test = line.split(" ");
          //System.out.println(test);
          } while(true);
          Object response = JOptionPane.showInputDialog(null,
                "Select a bus line",
                "Bus line", JOptionPane.QUESTION_MESSAGE,
                null, new String[] { "something", "something",
                    "something", "something", "something" },
                "something");
           catch (IOException e) {
            System.out.println ("IO exception =" + e );
           }

    Swing forum: http://forum.java.sun.com/forum.jspa?forumID=57

  • Gui status help

    hi all
              In pf status why the function codes of menubar,appl tool bar are started with ampersand(&).
              how different functions like 'back' delete' 'save' enter' can be declared in pf status and how can we use them in abap program.

    hi,
    PF status is used for defining your own menus.For example you can add your own push button DELETE' in the menu bar as shown below:
    In the PBO of the screen,uncomment module status100 and double click on it.
    It will ask you if you want to write the code for the module in the main program or a separate include.
    Now,in PF status,
    MODULE status_0200 OUTPUT.
    SET PF-STATUS 'GUI2'.
    Uncomment the SET PF_STATUS line and give a name say GUI2 and double click on the name.
    You will find three tabs in the GUI status:
    In the application toolbar,write the function code for the push button you want,say DELETE.Press enter and give the function text,icon name and info text and save and activate the GUI status.
    Now,in the PAI of the screen,uncomment the module user command and write the code:
    Case ok_code.
    When 'DELETE'.
    ...logic
    Endcase.
    chk this link for details:
    http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d1/801d5d454211d189710000e8322d00/frameset.htm

  • GUI Basic help

    Hi, I need help doing the following:
    I need to open a GUI using swing, and in it I want a button on top, and a text screen that is around 6 inches by 6 inches.. basically what i want to do is that every time i press the button the text area refreshes and displays new text..basically it runs the method and displays the output in the text area....are there any code snippets available for this? or can I get a bit of help on how to do this please?
    Thank you.

    These tutorials have example code:
    [http://java.sun.com/docs/books/tutorial/ui/index.html]
    [http://java.sun.com/docs/books/tutorial/uiswing/index.html]

Maybe you are looking for

  • In FCPx how do you invert the phase of one channel of audio?

    I talked with my engineer friend and he listened to and tested the audio on my project.  He said one of the channels was out of phase and that is why I'm getting no audio on my wireless audio recording being played back on android phones.  He didn't

  • Dump in Background Scheduling

    Hi all,           I am using FM 'FILE_GET_NAME' to retrieve path from application server and then i read and write on that file. Further my problem is this when i execute program in forground it is running fine but when i am scheduling it to backgrou

  • Transaction launcher to launch to legacy Microsoft fat client

    Hello Experts! I need integrate our IC Web Client (CRM 2007) with a legacy desktop application which is written in Microsoft Visual C++.  Can anyone pass on a reference on how to pass business partner data to such a legacy application using the trans

  • I send an e-mail every week with an attachment to 4 people since I got Firefox they don't arrive at their destination. Any ideas?

    I used Internet explorer but was having difficulties reading "sky's" e-mails, I was recommended by Sky to use Firefox. I can now read the e-mails but when I send an e-mail and an attachment, to 4 addressees (which I have done every week for about 5 y

  • OIM 11g: Custom Scheduler code

    Hi I need to develop custom scheduler in OIM 11g. But I am struck at how to use execute() method. public class CustomScheduler extends oracle.iam.scheduler.vo.TaskSupport { *//How to use execute(HashMap argMap) -- What hashmap data I need to pass to