Netbeans to jcreator

I want to use the gui classes i made using netbeans in jcreator. but i gives error package main is not found. ?t also gives org.jdesktop but i fixed it by putting a jar file into class path. however still main package is caput. plz help

please ask your netbeans questions on netbeans.org
you should also provide details of your code and exact error message

Similar Messages

  • From NetBeans to JCreator

    Hello,
    This problem may have been asked but I couldn't find the answer. Sorry if it is asked before.
    I have codes written in NetBeans and JCreator. I have to combine these codes in JCreator. How could i convert my NetBeans codes into Jcreator?
    Thanks...

    Netbeans uses some specific libs that do not exist in JCreator, then you must add these libs manually to JCreator, it is not enough to copy them to the class path dir.
    form JCreator window open Configure menu and choose Options. then select JDK Profiles from the left pane tree. on the right pane select JDK version 1.x.x and push the Edit... button. from the Classes tab press Add button and select Add Archive... then browse your lib(s).
    good luck.
    Ahmad Elsafty

  • NetBeans or JCreator? and many novice question

    I am sorry I am new in Java (I am previously have an experience in ASP.NET C# development , now I am in progress migrate to Java..but I am really new in Java)
    I have several question when learning java :
    1. Which one is better NetBeans or JCreator? What is the pro and cons of both IDE?
    2. What is Java System Application Server PE? (some kind like microsoft IIS?)
    3. What is Jboss?
    4. Do sun have any official AJAX framework like Microsoft Atlas?
    5. Do sun have any official WorkFlow like Microsoft WorkFlow Framework?
    thanks

    I have several question when learning java :
    1. Which one is better NetBeans or JCreator? Whatis
    the pro and cons of both IDE?I think a lot of persons here would agree with me
    that you shouldn't use an IDE at all when learning
    Java, rather than a good text editor (e.g.
    UltraEdit). Because an IDE shields you from important
    stuff you have to learn anyway: classpaths, package
    structures, compiling and running a Java app, reading
    the API docs.
    I agree with you on all points. The only IDE I would ever consider reccomending to a Java Newbie would be BlueJ. The only reason I would do that is to instill (hopefully) good OO concepts and design practices.
    >
    5. Do sun have any official WorkFlow likeMicrosoft
    WorkFlow Framework?I have no idea what that is.I have a quote that states the WorkFlow Framework from the 800lb gorrilla is 'designed to allow any application to add workflow functionality'. It seems MS is not content working with SAP on the [urlhttp://developers.sun.com/learning/javaoneonline/2005/coreenterprise/TS-5609.html]Netweaver initiative.
    MS is probably spoon feeding its developer community to ensure they employ all the latest and greatest proprietary features of their server technologies.. JMO..
    JJ

  • Step by step installation for java card kit 2.2.2

    can anyone help me with a complete step by step installation information for java card kit 2.2.2, i already tried to follow the instruction given in the software i download n still stuck in setting the java path. any recommendation
    thanks for the help

    The javacard API is for developing applets on card. Java 6 is for developing clients off-card.
    yes u can use any java IDEs like netbeans or jcreator. But you will have to select the libraries within the downloaded java card kit folder for ur IDE in order to compile successfully.
    try reading up the documentation and run the samples in the java card kit. thats a good place to start.

  • Unicode value of a non-ASCII character

    Hi,
    Suppose, the unicode value of the character ् is '\u094d'.
    Is there any Java function which can get this unicode value of a non-ASCII character.
    Like:
    char c='्';
    String s=convertToUnicode(c);
    System.out.println("The unicode value is "+ s);
    Output:
    The unicode value is \u094d
    Thanks in advance

    Ranjan_Yengkhom wrote:
    I have tried with the parameter
    c:\ javac -encoding utf8 filename.java
    Still I am getting the same print i.e. \u3fIf it comes out as "\u3f" (instead of failing to compile or any other value), then your source code already contains the question mark. So you already saved it wrong and have to re-type it (at least the single character).
    >
    Then I studied one tutorial regarding this issue
    http://vietunicode.sourceforge.net/howto/java/encoding.html
    It says that we need to save the java file in UTF-8 format. I have explored most of the editors like netbean, eclipse, JCreator, etc... there is no option to save the java file in UTF-8 format.That's one way. But since that is so problematic (you'll have to remember/make sure to always save it that way and to compile it using the correct switch), the better solution by far is not to use any non-ASCII characters in your source code.
    I already told you two possible ways to achieve that: unicode escapes or externalized strings.
    Also read http://www.joelonsoftware.com/articles/Unicode.html (just because it's related, essential information and I just posted that link somewhere else).

  • How can I get this JApplet to work?

    Okay, so I have a website now...
    it is called www.nothingbutinfo.info.
    I would like to put a japplet onto a page... because HTML is annoying and I know 1000000 times more about java.
    So... this is the code I have been able to find...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Untitled</title>
    </head>
    <body bgcolor="#ffffff">
    <div style="z-index: 4000; position: absolute; margin: 1px; width: 0px; height: 0px; top: 0px; left: 0px" id="html0" name="html0">
    <applet codebase="Applets" code="TestApplet.class" width="400" height="300">
    <param name="_cx" value="26" />
    <param name="_cy" value="26" />
    Sorry, no dice ... this requires a Java-enabled browser.</applet> </div></body>
    </html>Towards the end is the applet part.
    It does not work.
    This is where I have my files stored..
    www.nothingbutinfo.info/public_html/Applets/
    ...TestApplet.class,TestApplet.java,TestApplet$1.class,TestApplet$2.class
    What more do I need to do to get this started?
    Any help will be greatly appreciated.
    PS I looked at the tutorials, that is how I got here. Going there again won't do much.

    AwakenToThePain wrote:
    After that, what you wrote turned out to work.Glad you got the first applet problem sorted. I offer a tool for testing applets, Appleteer, for when your next applet problem crops up in (wait.. checks watch..) just a while.
    That 'first applet' and (bracketed) part is my way of saying "applet deployment is a PITA".
    I highly recommend you put the classes in a Jar and deploy the app. using [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp]. I also provide JaNeLA, for checking JWS based app. launches. ;-)
    Your comment about what Netbeans forces, amused me. I am running Ubuntu as my OS and when I recently changed over (from Win.) I tried to like Netbeans again - after having previously spurned it. I write a lot of SSCCEs, and the Shortest way to write them is to leave out a package statement. Since I could not see a way to get around NB insistence on packages (which is probably a good thing, in the long run), and was too lazy to remember to remove the package statement before posting examples, I put NB aside again, ..and added some Tools to the generic Ubuntu text editor (Gedit) to compile, run applets, and invoke Ant on build files.
    Don't get me wrong. IDEs like Netbeans, Eclipse, JCreator and the like are fine tools and make some things very easy (refactoring code, drag'n'drop GUI development..), but to do that well, they require that the programmer understands both the (Java) code being churned out, and the intricacies of the IDE. What IDEs offer is not something I need often enough, to bother dealing with their intricacies.

  • Connecting java to database JDBC

    I have downloaded everything i think i have needed to in order to make the connection. This includes netbeans, oracle thin driver and oracle. I am still unsure if everything is in the right place and if it works. I am able to create a database following this website [http://www.netbeans.org/kb/60/java/gui-db.html] Does this mean that everything is in the right place or is this somthing totally different because when i do it for real i will code it all myself and not use an example like this.

    Right, no longer using netbeans, using JCreator as this is what i am used to. I have downloaded oracle and on reading their documentation i realised that i needed to download the client server aswell. Now it seems i can get a connection.
    I ahve this code to establish a connection
    package hr;
    import java.sql.Connection;
    import java.sql.SQLException;
    import oracle.jdbc.pool.OracleDataSource;
    public class connectMethod {
        public connectMethod() {
        String jdbcUrl = "jdbc:oracle:thin:hr/hr@localhost:1521/XE";
        String userid = "username";
        String password = "password";
        Connection conn;
        public void getDBConnection() throws SQLException {
            OracleDataSource ds;
            ds = new OracleDataSource();
            ds.setURL(jdbcUrl);
            conn = ds.getConnection(userid, password);
    }Now correct me if i am wrong, but know i can go ahead creating sql methods and all i have to do is call up this method in my sql methods? What i am basically asking is if i need to call up the connectMethod() everytime i want to perform an sql action? and besides the sql code, is there anythingelse i should need to call up?
    cheers

  • Can't run java apps with System.out.println on any builder.

    Hello,
    I'm currently using Vista RC2, which is the immediate problem.
    Classes with System.out.println won't launch the console window. As I'm a student and practicing on these steps, I do have quite a problem on my hands. I click on run, build succesfull, nothing happens.
    I have tried Netbeans and Jcreator, and gave up on trying different builds, as I reckon I'll have to find some other way to counter this; any way to get println messages working in vista?

    It is run as a desktop app, and other runs with commands such as JOptionPane do function, only the println windows don't appear at all. So I think JRE is installed and working.
    I did notice there was one command for input where I'd be able to enter it at the bottom of Netbeans.
    Like just now I clicked build and run for the following code
    import java.util.*;
    public class FirstProgram
        public static void main(String[] args)
            System.out.println("Hello out there.");
            System.out.println("I will add two numbers for you.");
            System.out.println("Enter two whole numbers on a line:");
            int n1, n2;
            Scanner keyboard = new Scanner(System.in);
            n1=keyboard.nextInt();
            n2=keyboard.nextInt();
            System.out.println("The sum of those two numbers is");
            System.out.println(n1+n2)
    }Resulting in a brief flash of "input" in the output window (which is below the coding window) and it dissapears. But this also occurs when I don't include system scanner code.
    Using commands in cmd
    java -jar "C:\Users\Alegis\Netb\MyApp\dist\MyApp.jar"
    Does not yield desired results either. Nothing happens.

  • Ask pro

    i want to ask the pro here..
    i have been wondering about the output of the java IDE generates
    like netbeans and jcreator, when running a class, they show the content of the command prompt by using a textarea,
    can anyone explain what is actually happening here??
    do they use runtime.getruntime??
    what do u think??
    thanks

    Are you asking how the ides print their output togui
    components instead of a shell window? It's just a
    matter of starting a java process, then pipingit's
    ouput to the gui.how they pipe it??I don't know if there's a more correct way to do it, but you can use the Runtime.exec method to get a Process, then get the Output and InputStreams from that Process to communicate with it.
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html#getOutputStream()

  • What type of java is more suitable for message sending application from pc

    Hi,
    i m a beginner at java. now i having a assignment, that is write a coding which can send a message from pc to mobile phone.
    what i knew is it is require a smsc but is it can replace with kannel software? or need both of it?
    my lecturer is jus require us use java to write the coding. is it i can use javaBean to do it or j2me? any suggestion?
    if yes then what software should i download with? currently i hv netBean and JCreator software only. the 2 software are useful?
    i saw few website is allow people send a free sms to mobile phone, why they can do like that?
    is it possible send a message is without any charges?
    pls help me , i really need ur help... anywhere thanks for u all...
    Thanks for your time,
    yuanney

    {color:#000080}Maybe I shouldn't, but I'm taking pity on you here.
    j2me is for applications for mobile devices. Since your application is to run on a computer, it will be developed in j2se.
    NetBeans is a free IDE, not a java language component as you seem to be thinking. It can be used for developing various types of java applications, but using it will require that you learn how to use NetBeans in addition to learning java.
    Use Google a LOT, you will find complete code segments that you may be able to adapt for your purpose.
    If you need more help from this forum, you will need to know the best way to ask. For that, read
    {color}{color:#0000ff}http://catb.org/~esr/faqs/smart-questions.html{color}{color:#000080}
    db{color}

  • How to run jFram created by Netbeans in the command line or Jcreator

    Dear Friends
    I have designed a fram in Netbeans and the fram have many Jbox and Jcheck Boxes and Text areas. Net beans uses it is oun library. However after I used the facilities and finished the design I am looking to run it in faster IDE, such as Jcreator.
    The problem is that Netbean uses its library and Jcreator is not identifying it. My question, How to have it working else outside netbeans.
    here is the main problem, not sure how to have it available out side netbeans,ext such as
    getContentPane().add(jTextField11, new org.netbeans.lib.awtextra.AbsoluteConstraints(860, 120, 50, 20));
    Thanks for any help

    Dear Friends
    I have designed a fram in Netbeans and the fram have
    many Jbox and Jcheck Boxes and Text areas. Net beans
    uses it is oun library. However after I used the
    facilities and finished the design I am looking to
    run it in faster IDE, such as Jcreator. This is bullshit. You shouldn't run apps from within an IDE. And there's certainly no speed difference for your app.
    The problem is that Netbean uses its library and
    Jcreator is not identifying it. My question, How to
    have it working else outside netbeans.Import the library orjust use standard classes.

  • Confused - jCreator or Netbeans for web developement

    Hello,
    With the Visual Web Pack in Netbeans, what IDE should I be using for web development?
    Is there an advantage to JCreator over Netbeans?
    Thanks
    Frank

    VWP final release (or whatever they're calling it) is now available. The way I read it is this: VWP will have a niche for anyone who wants to develop the whole hog in one environment.
    Creator has some ease of use features that will not be ported to VWP in the near future.
    Not really mentioned is the fact that Creator can probably be faily easily aligned with the NB 5.5 code base now. (It's been stuck on the 4.1 or so branch apparently.) This may be one of the things to expect in the future if Sun chooses this route.

  • Image load to a NetBeans 5.5 application using jdk6

    i am using the following code to add an image to a system tray icon...
    Image image = Toolkit.getDefaultToolkit().getImage("lightening.PNG");
    trayIcon = new TrayIcon(image, "Tray Demo", popup);
    now, since i am using NetBeans, it creates a jar file in the dist folder....and i am wondering, where i am supposed to place the image, so that it will show on the task bar...right now, the program runs fine, and i can even see the sub menu, but the image is not loaded......i tried the same code using just jcreator and one class file, and if i place the image in the same folder as the class file, the program run perfect and i can see the image, so i know it is not the code...but rather, where to place the image...i have tried everything...i think i have a copy of that image in every folder in the project folder
    any help is apreciated, thank you very much
    sam

    problem sovled....thank you very much for you help....can you please explain to me what happenes when i add the directory to the runtime libraries....i am new to java, and NetBeans, but not new to OOP
    thank you
    sam

  • Netbeans IDE question

    Hello, I'd like to know if it is possible to execute a java application using netbeans IDE and having the command prompt to display the output just like JCreator for instance. Any feedback is appreciated. Thx
    DImi

    Hello, I'd like to know if it is possible to execute
    a java application using netbeans IDE and having the
    command prompt to display the output Yes! netbean is created for java.. you can do much of things with it..

  • JAVADOC Problem in Netbeans 5.0

    JAVADOC won't work in Netbeans 5.0 when i try to add it in the Library Manager, Platform Manager. But it works well in JCREATOR. Why is that?

    Don't add Javadoc to the Library Manager or Platform Manager in Netbeans. That's not what they're for. I don't what Library Manager or Platform Manager mean in JCreator, but Netbeans isn't JCreator.
    Netbeans handles javadoc by default when you create a project and allow Netbeans to create the build.xml ant script. To add javadoc capability to a free form project (existing ant script), do the following. In the project.xml file in the nbproject folder, look for where the "build" action is. Add a new action like the following:
    <action name="javadoc">
        <script>nbproject/ide-javadoc.xml</script>
        <target>ide-javadoc</target>
    </action>Then create the ide-javadoc.xml file in the nbproject folder. It could look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="Custom-IDE" basedir=".">
        <target name="ide-javadoc">
            <javadoc destdir="../javadoc">
                <fileset dir="../src" includes="**/*.java"/>
            </javadoc>
        </target>
    </project>Finally, within the IDE, check the project properties, build and run. Make sure the generate javadoc task is associated with the ide-javadoc ant task.
    After all that, the Netbeans generate javadocs command will be available just as it is when Netbeans creates the Ant script.

Maybe you are looking for

  • SharePoint FBA with Sharepoint list

    We have been searching for a good tutorial in setting up SharePoint FBA using a SharePoint list as the authentication source but there is very little out there.  CodePlex has a project called SPListMP but we were not successful in getting it to run p

  • HTMLLoader js errors

    I am using Flash CS3 and adobe air and when i create a htmlloader main.as package {    import flash.display.NativeWindow;    import flash.display.Sprite;    import flash.display.Stage;    import flash.display.StageAlign;    import flash.display.Stage

  • Problem with my Flash 10

    I am having problem while visiting some of the website like Youtube... Any idea how to solve? RFN www.amrabangladeshi.com Hoicoi.com

  • Material Procurement

    Business - I have nil stock of a material. Time constrain i receive that particular material from near by company. I bring that material to my stock. I issue that material from my stock. Due course I will execute Purchase Order for that material. I r

  • List Of Value not fetching records

    I have a ViewObject (VO1) with a ListOfValue that points to a ViewObject (VO2), and fetches records from VO2. There is no ViewCriteria added on VO2. When testing in the BC tester, the LOV works fine. Both on editing a row in VO1, and when creating a