How to run netbeans swing code without netbeans

hi
i created a GUI use netbeans and it compiles and runs under netbeans. my question is how can i run it on a machine doesnt have netbeans. i realise that in the netbeans project scr file, there s two .java file, but have no idea how should run it. i tried to do
javac <GUI class name>.java
but got lots of erro like this:
GUI_main.java:545: package org.jdesktop.layout does not exist
jPanel20Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
how can i do it corectly???
dav

Hai,
u need to search the Classes ur using in netbeans installation directory
i.e., org.jdesktop.layout some class.
May i know y ur using org.jdesktop.layout package
From where u got GroupLayout. Search GroupLayout.class and set the classpath.
javac -classpath <path of the class files>
regards,
RdRose.

Similar Messages

  • How to run a .bat code?

    how to run a .bat code?
    I have a code ,batch (.bat) in richtextbox1, and want , to text(code .bat) in richtextbox1 it was launched in the console cmd
    without the use of saving a file with this code and run it

    In your code, right-click on the word "Desktop". In the context menu, select "go to definition". The object browser opens. You will see other members of the SpecialFolder enum. You can examine these values and read the description below.
    One of them is "ProgramFiles". If you pass this value to GetFolderPath, it returns the path of the program files.
    Another way: In your code, move the caret to the word "desktop" and press Ctr+J. It will open the same list of enum values. Whenever you select an item in the list, the tooltip should also show a description of the enum value.
    Then look at
    System.IO.Path.Combine to combine the program files path with the sub folder path. The result will be the full path of the directory. You can call Path.Combine for every path name or file name that you want to add.
    Armin

  • How to run the Transaction Code - BIC for Bank keys uploading

    Hi
    How to run the Transaction Code - BIC for Bank keys uploading.
    please give me suggestion.
    Thanks
    Indu

    Go to BIC transaction screen
    Fill the selection screen parameters as below
    1. Update Run (Test Run: Check Off: Real Run:Check On)
    2. Set Deletion Flag (Check On)
    3. Maximum no. of records: 999999
    4. Detail List (Check On)
    5. Display variant: 1SAP
    6. Presentation server (Select Radio Button)
    7. Application server (Deselcet Radio button)
    8. File name and Path: Select relavant file which is to be upload
    9. Bank country: If needed (Give respective country name)
    10. Select execute button or F8
    NOTE: Make sure that before executing run execute TEST RUN by deselecting Update Run check box
    Hope this will meet your requirement
    Thanks.

  • How to run the sample code using the sdk?

    Hi,
    I want to run the jsp code from the enterprize sdk available in the sdn community. Can any one tell me how to execute these jsp sample codes and what is the pre-requisite regarding the set up.
    I already have the deployment ready.
    thanks
    AMar

    Hi Amar,
    To execute samples code, it is same what is required for normal J2EE application.
    Make sure add all the jars to your web application.
    These jars can be found on your BO server installation if windows.
    For BOE XI 3.x
    C:\Program Files\Business Objects\common\4.0\java\lib
    C:\Program Files\Business Objects\common\4.0\java\lib\external
    For BOE XI R2
    C:\Program Files\Business Objects\common\3.5\java\lib
    C:\Program Files\Business Objects\common\3.5\java\lib\external
    Thanks,
    Praveen.

  • How to run Java Swing GUI on embedded ARM Linux platform?

    The object is:
    A touch panel, running Java Swing GUI, with a 25 fps 320x320 mono JPEG image animation and other control buttons.
    What I have now:
    A Developing Board with: ARM926 CPU at 266MHz, 128M RAM, 64M ROM, ported with arm-linux and MiniGUI.
    My plan is:
    1. installing a X-window system to the platform, discarding the MiniGUI.
    2. install j2re-1.3.1-RC1-linux-arm.tar.bz2 to the platform.
    3. run my program developed on a PC.
    My concerns are:
    1. Both X and Java is resource consuming, can a 266MHz ARM CPU meet my requirement?
    2. Is the X a must to run Java Swing GUI? If yes, how can I configure it to minimize the footprint, I mean, install only necessary modules.
    3. Can J2RE 1.3.1, the only port for arm linux, support Swing classes?
    4. Are there other options, such as CDC + PP(AGUI?), how to do it?
    Thanks alot!

    3. Can J2RE 1.3.1, the only port for arm linux, support Swing classes?I'm not entirely sure from your post: is this a J2SE port? If so it will support Swing, but probably needs Qt.

  • How to run a swing based client server application in web?

    hi ,
    wat hav 2 do to run a swing based client server application in web?

    Swing applications run on the client only. You have two basic options:
    1) turn the app into an applet so it can run inside the browser (but still on the client)
    2) use webstart to allow the swing application to automatically install on the client from your server.

  • How to run a PLSQL mapping without using OWB Interface

    Hi there, does anybody know how to call a PL/SQL mapping <mapname.main> function without using OWB interface. We will have to create some other mechanism to call those generated mappings....
    Thanks in advance

    Hi Marcelo ,
    You can use the following code at the sql prompt to the run the mapping .
    DECLARE
    RetVal NUMBER;
    P_ENV WB_RT_MAPAUDIT.WB_RT_NAME_VALUES;
    BEGIN
    RetVal := <Mapping Name>.MAIN(P_ENV) ;
    COMMIT;
    END;
    Regards,
    Shashin

  • How to run 3d swing on the browser? how to use pugin  HTML conventer??

    hi dear all,
    I have problem now. I want to run my program in the browser. i use java 3d swing in my code as well. I look from books.It is saying that is possiable to do it , but , you have to use the java pugin conventer . I have tried , and it is not work on my computer , i have been doing just this for a week . If someone can give me some help , i will really really greatful about it .
    Thank you in advance .
    regards
    jojo

    What kind of command - HTML is a markup language not an execution language. If you mean how can you display an HTML document then use WEB.SHOW_DOCUMENT()

  • I got Code and Name in dropdown list of domain-based, how can I only show code without name in MDS excel add-in?

    Hi,
    We can use the setting on MDS webpage's Explorer to change the result of display.
    From Code{Name} to only display Code or Name{Code}
    How could I change the result of display like MDS webpage's Explorer in MDS excel add-in?
    We want the dropdown only show Code in it without Name even do not display symbol of {}.
    Thanks in advance for the help.

    Hi,
    To the best of my knowledge that's not possible.
    You should try to leave some feedback on this part of the product at connect.microsoft.com
    Regards, Fredrik

  • How to run field point vi without the fieldpoint?

    I'm running LV 7.1.  I'm writing a vi that uses compact fieldpoint modules for DAQ and control.  The system is located in another lab.  I'd really like to be able to work on the vi at my desktop, but of course not having the cFP connected makes that a problem, at least when I try to run the program.
    Is there some sort of "dummy" mode for cFP that will let my system actually run the vi?  The cFP is on a private subnet, so I can't get to it over ethernet (although I guess I could try putting it on the public net).  I could replace all the cFP express vis, I guess, but that would be a real pain to swwitch back and forth.
    Thanks, Rob

    That is correct. There is no way to simulate a FieldPoint device. The suggested workaround should work well for you, however. Create some simulated VIs that perform the same task as the FieldPoint writes and reads (at least in terms of what inputs they accept or outputs they have), and place them in the other case in a Case Structure as the FieldPoint VIs.
    LabVIEW 8 takes these possibilities one step further with Conditional Disable Structures and Diagram Disable Structures. The difference between these two structures and a Case Structure is that code in the disabled cases doesn't even compile. This means you could even have broken wires or broken subVIs inside the disabled case, and you'd still be able to run your program. In the case of this FieldPoint application, you could use a Conditional Disable Structure that automatically polls the target OS type (Windows, Linux, Pharlap ETS, etc) and selectively compiles one case based on the target OS. This would allow you to seamlessly run VIs on your computer and FieldPoint without modifying any code. The other advantage is that the simulated FieldPoint code wouldn't get compiled when you target your real FieldPoint device, so you wouldn't increase your code size or memory usage unnecessarily for the final product.
    Message Edited by Jarrod S. on 04-24-2006 03:51 PM
    Jarrod S.
    National Instruments

  • How to run java exe files without having to install jre

    Hi all i want to run a java application. i already converted the jar file to exe using Launch4j but the problem is that i want to run the application on other computers without having to install jre. please, is this possible and if yes, how can i do that. Thanks alot in advance

    The Launch4J website should explain how to bundle the JRE. I've not really used it myself though. If you can't get it to work you could try the launcher I use:
    http://www.megaupload.com/?d=FYZAVM77
    which comes with instructions. Or:
    http://sourceforge.net/projects/javaround
    Both of which are really easy to use.

  • How to run Java 3D Applet without install java3d

    I've written a java3d applet, and it runs correctly in browser on my computer. Now I want it can be run on other computers which havent' Java3d installed. If the program runs as application, then we can use jnlp and web-start to solve this problem. But what about applet? How can I do it just like the application?
    Pls help me!

    Hello. I read this article too. It sounds interesting but I have some questions. The example is given for win32 and what about other OSs and platforms? Sun provides different libraries for different OS. According to this article it is possible to run applets without previous installation of Java3D and if a user runs Windows 2000, Java3D libraries will be downloaded and installed from the location pointed out by the programmer. But how to do this for all OSs and all platforms and architectures so that if a user doesn't have Java3D installed on his/her computer, might to see the applet in his/her browser? Is it the only way that a programmer needs to include into "loader_singed.jar" all possible libraries for all possible platforms?

  • How to run Pre-Upgrade Check without upgrading License Server

    Hi
    How can I run the 8.8 Pre-Upgrade Check without upgrading to the 8.8 license server?
    The Wizard forces me to upgrade it and if I upgrade it, the current 2007 does not run anymore. I want to check my DB's with the Check before upgrading any components and 2007 needs to stay alive.
    Thanks
    Franz

    Hi Franz,
    I would suggest you to check your DBu2019s in your test environment. Please take a backup of all DBu2019s from your live environment and restore them in your test environment once you will have enough free space.
    Please always test the database upgrade in the test environment before doing it in the production environment.
    For more information regarding Business One installation and upgrades on 8.8 version please refer to the Administrator's Guide 8.8, which can be found on the Documentation Resource Centre on the Portal. http://service.sap.com/smb/sbo/documentation  ->  Documentation Resource Center for Release 8.8 
    See chapters: 3.Installing SAP Business One and 5.Upgrading SAP Business One
    Regards,
    Ladislav Meszaros
    SAP Business One Forum Team

  • How to use a provider code without installing its package?

    Hi,
    I got a problem here.
    I found a security provider package named "cryptix" is what I need in my own software.
    My question is how to distribute it with my software?
    my app is a aaplet and I couldn't suppose all user machine have been installed this package before try my app.
    It is a simple question, I know.
    Thanks you all.
    greg

    You are writing an Applet right? If so you have a jar file that is downloaded when the applet runs that contains the applet code. You simply need to add an archive tag to your applet's HTML file which includes the cryptix jar. If you are using the Plug-in then you can set that jar to cache.
    The problem will be registering the cryptix provider with the security manager. I am not sure about this but I would imagine calling Security.addProvider() would throw an exception while running in an Applet sandbox.
    maybe I'm wrong but I would check before you get to far!

  • How to redeem the iTunes codes without an account review?

    I have the redeem codes. An i want to redeem those. But, how I can redeem those without an account review?

    Unless the instructions on this page are followed when creating an account : Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method
    then credit card details will need to be entered before the account can be used to download any item from the store. You should be able to remove your credit card's details after entering them.

Maybe you are looking for