Creating a GUI in netbeans

If anyone can help it would be so GREAT! I am trying to create a GUI, which can import two programs off my desktop into two frames on the GUI. If possible does anyone knows how to do it?
Basically my GUI is used in terface and see two differnt prograsm at once. One program is a video feeder, and the other program is a sensor reading software. the GUI is for a senior design project, whre we can operate a remote control car, see wheres its going through the video feed program and collect sensor readings.

Nothing is impossible.. just possibly more complicated than it's worth.
Are the two programs java programs by any chance? Do you have access to the source, and you're just trying to create a combination of the two? Or are they completely independent, non-java programs?
Either way, I'd say it's probably going to require more work than creating a GUI in netbeans. Maybe if you listed exactly what the two programs are, somebody would know a way to link them with java?
Edited by: kevinaworkman on Apr 7, 2009 7:33 PM

Similar Messages

  • Creating j2me GUI s just like j2se in Netbeans

    I am a j2se programmer. I know nothing about j2me. Can we design GUIs for mobile apps just like we do in j2se application? I saw one option in netbeans visual midb(forget it) to design GUI. but i couldnt create effectively as i do in j2se.
    can anyone explain how to create GUI in netbeans for mobile app?

    Yes, you are right.
    From the time I posted my question I tried to make a similar GUI in NetBeans and I noticed that NetBeans included the following code for the GUI:
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(UpToolbar, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
                .addGroup(layout.createSequentialGroup()
                    .addGap(10, 10, 10)
                    .addComponent(tabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(UpToolbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(tabbedPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE)
                    .addContainerGap())
            pack();I just adapted the code to my initial project and it works much more better.
    Still the icon pics look very poor, like I am using a 800x600 resolution. They look so old...And the fonts used for the menus are bolded...
    I will look on the forum for a way to make the GUI use some normal fonts.
    Thank you, camickr , for your response ;)

  • Creating a GUI on a remote device.

    I would like to create a GUI on a simple CCD touchscreen.The screen is effectively a dumb terminal that is connected to a pc using a proprietary data interface. The GUI needs to be created and rendered in an off screen buffer on the server with the data that constitutes repaint regions being sent to the LCD display.
    I have thought about overriding the RepaintManagerI but that doesn't work when the display on the sever is not visible. I have thought about creating a custom GraphicsDevice and GraphicsConfiguration but I haven't had any success with this approach.
    Has anyone done anything similar? Could anyone suggest a solution to this problem? I would be grateful for any help.
    Thanks.

    Hi -
    I have a similar problem.
    I have a small LCD controlled via the serial port. I have written a simple Java class to set or clear individual pixels on the display (it makes use of Java COMM to communicate with the hardware).
    How would I go about turning this simple class into something that Java could use to render graphics on?
    Obviously I could start writing a whole set of graphics routines for drawing lines, boxes, glyphs etc myself, but this is clearly wasted effort. How can I make use of the existing code to render graphics on a non-standard display?
    Thanks for any suggestions!

  • How to Create a Gui on Pocket PC

    Greetings ALL,
    I have been using the IBM J9 on my Pocket Pc recently. And I am able to run simple java programs BUT without a GUI. SO I am looking forward to build a Gui on a Pocket PC using J9
    I searched through the forum and found no clue regarding this issue.
    I'll be thankful in advance to have information about:
    - any tool to create such a Gui on PDA
    - Steps for creating simple Gui (including button or check box)
    - which libraries I must use on my PDA to run GUIs
    - And for any code samples online
    I'll be grateful and thankful for any idea and assist,

    The PP includes a decent subset of AWT, so you can use that without installing any libraries. There's a tutorial at http://java.sun.com/developer/onlineTraining/awt/contents.html
    Just remember to close and dispose() your windows before you call System.exit(), or J9 will around and you leak memory.

  • Creating a GUI for use on an Ethernet Network

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

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

  • How to create a gui pf status and guititle in module pool programming?

    hi frnds,
    how to create a gui pf status and gui title in module pool programming?
    my problem is i created a screen and wen execute the screen by a tcode.am nt able to activate SAVE BACK EXIT CANCEL COMMANDS?.how to do this can any one explain in detail procedure?
    plz gve step by step process.

    Hi,
    For Title:In PBO...just write
    SET TITLEBAR 'ZTITLE'.
    double click on 'ZTITLE'....give whatever title u want...save it...activate...and check...reward points if useful...
    PF means FUNCTION CODE
    ex; set pf-status 'zrstatus'.
    double click on the zrstatus expand the application server ,
    at the time of execution the default menu(ie system,help),application toolbar buttons like enter,help etc and function keys(by default there will be no function keys)as are there on the normal
    will appear on the screen.
    Details:
    PF-STATUS is used to set the GUI Status of a screen, ie you can control the options on your menu bar, application toolbar, the function keys assigned to various options etc.
    Implementing the status for a screen can be done in 2 ways:
    1) Create the GUI status using the object list of the program or by using the transaction SE41. Then, assign it to the screen using SET PF-STATUS statement.
    2) Create the GUI status by means of forward navigation, ie, use the SET PF-STATUS 'XXX' statement where 'XXX' is the name of the GUI status and double click on it to create it.
    Status names can have a maximum of 20 characters.
    After assigning a GUI status to a screen, this is inherited to all subsequent screens. In order to have a different status for each of the subsequent screens, you have to set a separate status for each screen.
    In transaction SE41,
    1) Give the program name and the status name and click on the Create button.
    2) Go to 'Function keys' and expand.
    3) On top of the save icon type SAVE, on top of the back icon type BACK, on top the the exit icon type EXIT etc ie on top of all the icons that you want to use, type the respective names that you want to give.
    Whatever you have typed now becomes the function codes of these icons and can be used in your program.
    For example you have a screen 100.
    In the 'Element list' tab of the screen, give "ok_code" as the name where "OK" is the type of screen element. Activate screen.
    The flow logic for the screen looks like this:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    Create the modules STATUS_0100 and USER_COMMAND_0100 in the main program by simply double clicking on them.
    The code for these modules can be something like this:
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'Example'. "Example is the name of the GUI status
    ENDMODULE.
    MODULE user_command_0100 INPUT.
    CASE ok_code.
    WHEN 'SAVE'.
    "call a subroutine to save the data or give statements to save data.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.
    Regards,
    Shiva Kumar (Reward If helpful)

  • How can i create splash screen using netbean?

    how can i create splash screen using netbean?

    Welcome to the Sun forums.
    gabbyndu wrote:
    how can i create splash screen..Java 6 offers a splashscreen functionality. See [New Splash-Screen Functionality in Java SE 6|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/] *(<- link)* for details.
    [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] has offered splash screens to applications since Java 1.2. See [How can I provide my own splash screen?|http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206] in the JWS FAQ for more details.
    .. using netbean?We don't support Netbeans here. Ask that on a [Netbeans forum|http://forums.netbeans.org/].

  • How to create Componet array in NetBean?

    I want to create ten or more text field with same format.
    Also want to use NetBean to done it with out typing the code self.
    How can I do?
    I mean whether easy and fast method to create componet array in netbean.

    I want to create ten or more text field with same
    format.
    Also want to use NetBean to done it with out typing
    the code self.Why not? because it's the fastest, simplest and safest way.
    How can I do?
    I mean whether easy and fast method to create
    componet array in netbean.Just like oyu'd do it without Netbeans.
    If you still want to do it in Netbeans, I suggest reading the manual. This is not a Netbeans product support forum, and I'm definitely not inclined to help as you don't want it done by writing code yourself.

  • How to create custom GUI interface for Cisco router?

                       Hello,
    I am working on a Cisco solution and I have my router configured for the solution I need. However, if a non-cisco person needs to use my solution then I think he will need a GUI interface which will have few "buttons" which when clicked will run some Cisco commands on Cisco router to make it work. Is there a way to design such GUI interface which is compatible with Cisco routers? I know Cisco has SDM, but that is too involved and detailed, which is useful only for people who know atleast a little bit about Cisco. Here I am looking at crowd who will have 0 knowledge of Cisco.
    Please let me know if something like this can be done. If yes, how and how easily?
    Thank you.

    There are lots of ways to do this - you can use SNMP or even HTTP to push or pull commands from Cisco devices. How easy it is to create a GUI depends on your programming skills. I would guess a simple web page triggering backend scripts would be the easiest way to do this.

  • Creating a gui with j2me

    Hi, I'm making a midlet, and I want to create a gui. i think the best way for making this is using canvas, but I can't find any tutorial/example. The gui would be something like this:
    http://bladecoder.net/hof/images/sf1.png
    ah, and I cannot use j2mepolish.
    Thanks for your help.

    Please start with the link mentioned above. After discovering the APIs you need you can find numerous examples of custom UIs.
    A couple of years ago there was a great example of creating a a custom UI framework on the web. I cant seem to find it now. The closest thing I could find now is http://www2.sys-con.com/itsg/virtualcd/Java/archives/0606/cordrey/index.html
    Visit the Nokia and SE developer site. SE, especially, always has good examples.
    I use the low level API for all my J2ME work. As an aside, you can look at some of my "weekend" projects. Here are some screenshots.
    http://mobox.cliqcafe.com/files/1439/rim-5.jpg
    http://mobox.cliqcafe.com/files/1831/Screenshot0036.jpg
    http://hostj2me.cliqcafe.com/files/2382/Screenshot0619.jpg
    Grab the source if you like, but learn the basics first. I would not want you to inadvertently pick up any of my "bad habits." If you have time to waste, and dont mind lax production:), you can watch video demo an custom ui here:
    http://hostj2me.cliqcafe.com/files/1877/yipi.wmv

  • Wanna create a gui for an app

    greetz!
    i wanna create a little gui for a commandline app. never done this before. does any1 know about some howto's online? i don't know much about these things at the moment, but i gotta start somewhere, and i'm not afraid to read and spend some time. things that cross my mind when thinking about creating a gui are python, c, gtk,...
    any help, advice, links are very welcome! 
    thanks in advance!

    These should be helpful:
    http://java.sun.com/docs/books/tutorial … index.html
    http://java.sun.com/docs/books/tutorial … index.html
    Basically, you start with a static main method, create a JFrame extension from in it, create the display, add events for buttons and components. To interface with a commandline app, you can use Runtime.getRuntime().exec(); take a look at the java api (under java.lang) for the various versions of the exec method.
    You can e-mail me directly (dusty at buchuki.com) if you have questions, though for professional style advice, the forums at java.sun.com might be more effective (though perhaps not so friendly :-D)
    Dusty

  • Using SWING to create a GUI for PC to Microcontroller connection...

    Hello,
    I am currently undertaking a project task regarding the connection of a microcontroller (uC) to a host pc. Our main task now is to create a GUI that would display information stored on the uC.
    I was just wondering if SWING will be able to accomodate the following:
    1) The uC will be hooked up either through ETHERNET LAN cable or a USB WIFI adapter. The host pc running Java will have a GUI that would be able to locate this IP address of the uC and connect to it.
    2) We have verified that a telnet connection from a pc to the uC works. We could successfully, get the necessary files needed from the uC.
    3) The contents of the files we want are just a bunch of serial numbers. We have uC run a code and store the output into a file. This file would then be transfered to the host pc.
    4) In the end, we want to send this data wirelessly, instead of using the LAN CABLE.
    My question now is would SWING be a good option in implementing this GUI. I have taken a JAVA course a 2 yeasr ago so I am still familiar with some JAVA basics but I have not delved into the networking aspects of JAVA, which I do know it has.
    I await your kind responses,
    thanks.

    Hi,
    By ?C do you mean ?C/OS-II?
    I don't know much about ?C/OS-II, I believe that you could
    make a program for that processor that would listen for connections
    on some ethernet port. Then your java program need to connect to that port
    and fetch the data.
    At the end of this article is a bit of info about sockets in ?C/OS-II.
    http://www.hardware.dibe.unige.it/Software/DynamicC/DynCUsersManual/14ucos.htm
    As pointed earlier, the GUI isn't your biggest problem.
    kari-matti

  • Help with dynamic GUI in NetBeans

    Hey all,
    I'm new here and was looking for help. I'm trying to create a GUI which is dynamic. I want a JPanel (I think this is the proper component) that will be dynamically populated with other modules, namely other JPanels defined as classes. This JPanel is within a JDialog. Ive been trying things like this:
    myPanel.add(new myNewPanel)inside of a the index changed method but the panel is not being added. I feel like I'm doing something fundamentally wrong. Does anyone have any words of advice??
    Thanks

    Of course JDialog has a pack() method.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • How to create static class in Netbeans ?

    I want to create a static class in netbeans.
    But it gives error like : static modifier not allowed here. as far as java prog concern it is syntactically correct.
    for eg.
    public static class Emp
    -------body & methods
    it looks correct syntactically, but gives error in netbeans, static modifier not allowed here. Why ? How to create static class in netbeans ?

    DrClap wrote:
    I have occasionally seen the name "static class" used to denote a class whose members are all static.I think this is quite common.
    But taking the name literally and trying to declare a class "static" is a little naive."naive" or being used to doing that in C#.

  • Creating the GUI Buttons on Tu0131tle Bar of the Reports

    Hi,
    How can i create the buttons on title bar of my report as CL_GOS_MANAGER?
    the CL_GOS_MANAGER interface is creating a button on title bar of a report to open gos manager popup window.
    i want to do same as this method. i want to create my button.
    Can somebody help me pls?
    Thanks.

    Thank you for your reply,
    i've created a gui button on title bar with this code at INITIALIZATION;
    DATA: lo_container TYPE REF TO cl_gui_gos_container,
            lo_dialogbox TYPE REF TO cl_gui_dialogbox_container,
            lo_toolbar TYPE REF TO cl_gui_toolbar.
      DATA: lo_menu TYPE REF TO cl_ctmenu.
      DATA lt_event TYPE cntl_simple_events.
      DATA ls_event TYPE cntl_simple_event.
      DATA lp_style TYPE i.
      DATA lp_icon TYPE iconname.
      DATA lp_butn_type TYPE tb_btype.
      DATA lp_url(30).
      DATA lp_quick TYPE iconquick.
      DATA lp_nobut TYPE c.
      GET PARAMETER ID 'SGOSNOBUT' FIELD lp_nobut.
      CHECK lp_nobut IS INITIAL.
      lp_style = cl_gui_control=>ws_visible.
    *  IF CL_GOS_STARTER->go_container IS INITIAL.
        CREATE OBJECT lo_container
          EXPORTING
            width             = 58
            no_autodef_progid_dynnr = 'X'
          EXCEPTIONS
            OTHERS            = 5
        CHECK sy-subrc = 0.
        CREATE OBJECT lo_toolbar
          EXPORTING parent = lo_container.
        CALL FUNCTION 'ICON_CREATE'
          EXPORTING
            name       = 'ICON_PDF'
            add_stdinf = space
          IMPORTING
            RESULT     = lp_icon
          EXCEPTIONS
            OTHERS     = 0.
    *    IF gp_frontend = 'ITS'.
    ** insert menubutton
    *      lp_butn_type = 2.
    *    ELSE.
    ** insert menubutton with default
    *      lp_butn_type = 1.
    *    ENDIF.
        lp_quick = text-001.
        CALL METHOD lo_toolbar->add_button
          EXPORTING
            fcode     = '%MY_BUTTON'
            icon      = lp_icon
            butn_type = lp_butn_type
            quickinfo = lp_quick.
    * register events as system events.
        CLEAR lt_event.
        ls_event-eventid = cl_gui_toolbar=>m_id_function_selected.
        ls_event-appl_event = space.
        APPEND ls_event TO lt_event.
        ls_event-eventid = cl_gui_toolbar=>m_id_dropdown_clicked.
        ls_event-appl_event = space.
        APPEND ls_event TO lt_event.
        CALL METHOD lo_toolbar->set_registered_events
          EXPORTING
            events = lt_event.
    *    SET HANDLER on_function_selected FOR lo_toolbar.
    *  ELSE.
    *    CALL METHOD show.
    *  ENDIF.
    *  SET HANDLER on_dropdown_clicked  FOR lo_toolbar.
      call method cl_gui_cfw=>flush.
    but i didn't find where button clicked is falling.
    Thanks again.

Maybe you are looking for

  • Itunes won't open unless I disconnect the network/internet, why?

    My Itunes won't open (after clicking the icon and seeing it running in task manager) until I disconnect the internet connection.  How do I fix this?  I have the latest version of Itunes and Quicktime installed.

  • Call me jack shepard, im totally lost

    ok, so, as with most 04-05 g5 powerpc powermac owners (that ive read about), im having a few issues with heat and fans in my unit... or maybe i dont, i dont entirely know. as i said im lost, and confused. ive been reading about issues with fans, this

  • I want to know the meaning of dollar sign ($, or \u0024) in  identifier def

    Hi everybody: Thanks for youring teaching!!! In the Sun doc: "The $ character should be used only in mechanically generated source code or, rarely, to access preexisting names on legacy systems" ;I read ,but don't know the sentence's meaning about th

  • Duplicate Entries in Internal Tables

    Hallo Friends, It Would be nice if some one let me know, if there is a way in ABAP to select the duplicates records in an internal tables. Lets say I have two internal tabels, itabA have following structure: BNAME  |          WORKAREA   |   ROLES abc

  • Airport just stopped connecting - bizarre!

    Hi Everyone I really hope someone can help on this one. My MacBookPro 2.4 (the latest one) has just decided to stop connecting to our home wireless network. It has been working just fine on this network for weeks. It has always connected just fine to