How to add a class in a project?

Hello!
i'm a beginner in developing and i don't know how to add a class in a project in Sun Java Wireless toolkit 2.5.2...
The name of my project is essai2 and i already put a class, LogoMIDlet and now i want to put my new class ComBasique, how can i do that?
and do you know if there is a program for bluetooth in order to connect my Nokia 6680 to another device that have a bluetooth?
thanks a lot for your answer!
Sophie

how to change the class name after the project is created.In NetBeans, right click the class name either in the declaration or constructor, select Refactor --> Rename... and follow the dialog.
You can refactor --> rename anything that is not in a guarded block. For those, there are options via the properties window.
db

Similar Messages

  • How to add ANY class to my project?

    Greetings.
    I am begining my adventure with java. Now I am wasting 2 days because i can't add class to my program. I would like to use floating-point numbers so I've found MathFP.class on the Internet. But I've no idea how to
    link this class with my program. I've experimented a lot and found the midpapi20.jar archive in J2ME_SDK\PC_Emulation\WTK2\lib folder. I added the MathFP.class there. Now my program is compiling. But when I am running it, I get Such error:
    java.lang.NoClassDefFoundError: net/jscience/math/MathFP
         at SimpleGameCanvas.SmoothNoise(+3)
         at SimpleGameCanvas.<init>(+142)
         at RGBToImage2.startApp(+15)
         at javax.microedition.midlet.MIDletProxy.startApp(+7)
         at com.sun.midp.midlet.Scheduler.schedule(+270)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)What am I doing wrong? Why adding simple class is so damn hard? :(
    Best regards and thanks for Your time.

    I found an answer in another topic here.
    add your jar to verified/lib folder and it should work. What a god damn waste of time to look for a solution for problems like this...

  • How to add new Attachment category in Projects master creation form

    Hi Dudes,
    I would like to know that how to add new Attachment category in Projects master creation form.
    It defaults as Miscellaneous.
    I created new category by navigated Application developer - attachment - category
    but i dont know how to assign the above created category for Project master creation form
    Can you pls throw some lights into this little dark room?

    See http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T458262.htm
    Scrool down to the "Category Assignments Window".
    This is where you assign an attachment category to your form/function.
    See http://erpschools.com/articles/oracle-attachment-functionality-adding-an-attachment-to-a-form for step-by-step screenshots.
    Sandeep Gandhi

  • I need to know how to add closed captioning to a project Captivate 6

    I need to know how to add closed captioning in a project in Adobe Captivate 6.  It is a software demo single recording.  I don't see where to go to create closed captions or change accessilbity preferences.

    Hi there,
    First thing that you need to do is go to Project > Skin editor > and check the box for Closed Captioning button in playbar.
    A slide must have a slide audio or Slide Video to add CC notes in it.
    Go to Windows > Slide notes, to view the slide notes panel, and click on + sign to add Closed captioning notes.
    Please check this article to add CC in project: http://helpx.adobe.com/captivate/using/slide-notes.html
    Check this article for accessibility in Captivate : http://help.adobe.com/en_US/captivate/cp/using/WSc1b83f70210cd101-157ec7f211c7ef6052c-7fff .html
    Thanks.

  • How to add new class to existing DC (Web Dynpro project)

    Hi,
    How can I add new class to an existing DC (Web Dynpro project)?
    I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
    Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
    This can't be difficult, does somebody knows how to do it?
    My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
    Thanks,
    Jeroen

    Hi Jeroen,
    where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
    Regards,
    Marc

  • How to add my class into rt.jar file?

    Hi, everyone!
    I am using WinRAR to extract the package rt.jar and added
    my class file to javax folder. Then I use jar c0vf to create
    a package. After that, I restart my WSAD4.0.2. But it seems
    that WSAD4.0.2 can not be started. (It stops at the welcome
    screen for a long time.)
    Anything wrong I have made? How to resolved the reouble?
    Cheers,
    George Ma

    Thanks!
    Do you know how to add .class file to a project of WSAD4.0.2?
    I use CLASSPATH, but always failed in IDE. But it works in
    command line environment. I want to use some classes in a
    .class file.
    Can you help?
    Cheers,
    George

  • How to add modules to my Customer Project?

    Hello,
    I've created a new Customer Project on an existing track for the ICSS_B2B application. After the creation, I want to add modules to my CP but this aint
    working. When I right click on my CP in the J2EE DC Explorer and press 'Add
    Modules', I can't specify any Web- and EJB-Modules. It's an empty list.
    What did I do wrong? Can anyone help me?
    thank you in advance,
    kind regards...

    how to change the class name after the project is created.In NetBeans, right click the class name either in the declaration or constructor, select Refactor --> Rename... and follow the dialog.
    You can refactor --> rename anything that is not in a guarded block. For those, there are options via the properties window.
    db

  • How to add mailcore framework to iphone project?, how to add mailcore framework to iphone project?

    I need to add the mailcore framework to my iphone project so that with mailcore to create an application for mail to attach files to mail and send it to recipients and download the content of the mail,so please if any one knows how to do this help me.
    thanks in advance...

    how to change the class name after the project is created.In NetBeans, right click the class name either in the declaration or constructor, select Refactor --> Rename... and follow the dialog.
    You can refactor --> rename anything that is not in a guarded block. For those, there are options via the properties window.
    db

  • How to share common classes across multiple projects in Jdeveloper?

    Hi Experts,
    I have a basic question.
    I am using Jdeveloper 11g and have divided my application into 2 projects (Model(ejb's) and Viewcontroller(jsf+managed beans etc)).
    The model project has a stateless session bean(named VisitingScholarBean) which uses a java bean class(named VisitingScholarDetails) defined in the ViewController project.
    The relevant Method in the stateless session bean is public void saveVSDetails(VisitingScholarDetails vsDetails).
    Now the issue is that the VisitingScholarDetails class is part of only the ViewController project but is being used in the Model project.
    So when I try to run the application it gives an error saying that
    weblogic.application.ModuleException: Exception preparing module: EJBModule(VisitingScholar-Model-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    edu/nyu/ecoms/oaa/vs/web/backing/VisitingScholarDetails.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: edu.nyu.ecoms.oaa.vs.web.backing.VisitingScholarDetails
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)I cannot replicate the same VisitingScholarDetails class in both projects as it will lead to duplication.
    Please let me know how to include the VisitingScholarDetails class in the ejb-jar without replicating it in the Model and View Controller projects.
    Thanks for your time and help.
    Edited by: user10376431 on Jan 24, 2010 6:25 AM

    Welcome User in OTN,
    to make two projects can access its classes you should goto the project property ---> Dependencies then add the other project.
    in your case:
    try to goto you Model project property ----> Dependencies ---> Edit Dependencies .
    you will find your ViewController project. Expand it thin check to Build Output.
    you can make this for ViewContoller project also as:
    goto you ViewContoller project property ----> Dependencies ---> Edit Dependencies .
    you will find your Model project. Expand it thin check to Build Output.
    Sameh Nassar

  • How to Add Customer Class Field in WEB-IC

    Hi CRM Experts,
    Please provide me Solution on folooing queries.
    1)When ever i create a BP from WEB-IC, i need to enter Customer Class. Since this field is not available in the standard system i cant enter.
    So, Please tell me how to add new filed in the WebIC.
    Points will be Rewarded.
    Thanks in Advance.
    Regards,
    Sree

    Hi,
    See Thread entitled "Links to CRM Documentation" - there you will find a link to Interaction Center (IC) WebClient Consultants Cookbook. This document gives you all the info you need to add fields to the ICWC.
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000647973&_SCENARIO=01100035870000000112&_OBJECT=011000358700003057372006E
    Regards,
    Damien
    Please award points...

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates...
    I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising.
    Now I want to create sidebar region that is 450 px wide.
    It should be the same sidebar region but with different width!
    I saw on file system that there is .css so I add this class in it....(as aspected) it is not shown in template class list...
    I am able to apply that new class to template, but I cannot see that class in "Template Class" LOV (in Edit Region Template form).
    Is that important and could this bee seen in that list?
    THX!

    I have now working template with my new class...
    What is still bothering me is that I have editeted "theme_V2.css" file. I'm plannig to put my app on hosted WEB site in Germany, where this file will not be the same as is on my server.
    How to achieve future compatibilty according this?
    THX!

  • How to add compiled classes for EJBs in 10.1.3

    Hi there,
    I have a problem when migrating to 10.1.3.
    I have a big library of EJBs which I use in everal projects just by copying precompiled classes and adding them in ejb-jar.xml
    In previous JDeveloper I used ant as default build procedure. My build.xml didn't compile anything. just copied precompiled classes to output dir. Thus, the new project didn't care if classes were really build from source or not.
    The problem is that new JDeveloper doesn't allow setting a ant task as defualt build procedure and, so, building and then performing a ejb-jar.xml "verify enterprise beans" I get plenty of errors saying it can't find classes. (I have to copy them manually, or run the ant task manually).
    It is very tedious to copy classes manually as they are changed often... also, the deployment profile invokes nternal building procedure (an ant task before that copied classes) but now does nothing.
    I have tried to add these classes to the src dir, the resource dirs and even classpath, but they never get copied to output directory.
    Can I solve this or JDeveloper is only prepared to handle EJBs which source code is owned in the project itself?
    Thanks,
    Ignacio

    That link is to an older version of Jdev. There is no 'Common' section in project properties and no html input path either. There is a 'Project Content' section and within that section there is a 'Web Application' option. However i get "ArrayIndexOutOfBoundsException" whenever i click on the 'Web Application' option. I suspect this is the area where i can configure the .jsp portion of my project. I can't get to it though due to the exception.

  • How to add rdlc reports to winform project with out throwing any error

    Hi,
    I have been trying to resolve this problem in all ways.I am working on win forms in VS 2010 using C#.I have designed 4 rdlc reports in a copy of same projects, and now I have been trying to add those rdlc reports to main project(same name of 2 projects).
    They are adding but throwing an error as "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.Verify that the instance name is correct and that
    SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) "
    at 
    private void report10th_Load(object sender, EventArgs e)
    // TODO: This line of code loads data into the 'dataset10th.attendance' table. You can move, or remove it, as needed.
    this.attendanceTableAdapter.Fill(this.dataset10th.attendance);//throws an error here
    // TODO: This line of code loads data into the 'dataset10th.regestration' table. You can move, or remove it, as needed.
    this.regestrationTableAdapter.Fill(this.dataset10th.regestration);
    // TODO: This line of code loads data into the 'dataset10th.tenthclass_marks' table. You can move, or remove it, as needed.
    this.tenthclass_marksTableAdapter.Fill(this.dataset10th.tenthclass_marks);
    //this.reportViewer1.RefreshReport();
    please Help me out how to add these RDLC reports to win forms 

    Thank you for replaying me sir,
    Finally i got to know the answer through your instructions.
    I have a look into app.config file and replaced the server name as 
    <add name="f2.Properties.Settings.smssmsConnectionString" connectionString="Data Source=User-pc\sqlexpress;Initial Catalog=smssms;Integrated Security=True"
    providerName="System.Data.SqlClient" />
    //to
    <add name="f2.Properties.Settings.smssmsConnectionString" connectionString="Data Source=.;Initial Catalog=smssms;Integrated Security=True"
    providerName="System.Data.SqlClient" />

  • How to add jar files to a project?

    What is the correct way to add jar files to a project?
    Jdev Help has an entry "Adding Files to a Project Using the Add Files or Directories Dialog", but when I goto File->Open as it says, there is no "Add Files or Directories" dialog.
    Using JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660 on Linux.

    That's not quite what I need, as it does not copy the files into the project, but just creates references to their original location in the filesystem. We want local copies so we can check the whole project into Subversion and not have external dependencies.
    Should I just copy the files manually (outside of Jdeveloper)? And what directory should I copy to?
    Thanks.

  • How to add .jar files in my project

    Hi all,
    i am designing a application where i want to translate some words of my web page to different language
    say, i want "search" word to be translated to french language
    i have got some .jar files google-api-translate-java-0.4.jar to do this work...
    can anyone tell in which folder to put .jar files ,so that it works in my project..
    i am using Eclipse SDK 3.3
    Thanks

    how to add .jar files in my project In your eclipse goto,
    Project --> Properties --> Java Buil Path --> Add External Jar
    By that u can select your JAR and click OK..........

Maybe you are looking for

  • Timesten LOCK issue

    We are facing Timesten LOCK timeout issue in client environment very frequently but it has not happening in local test environment tried to reproduce for many times. Below is the Error message An exception occured while inserting data to USER_DATA_SA

  • Multiple VPNs on one interface troubles

    Hello. I am still pretty new to Cisco IOS, but I think I'm getting there. Right now I am trying to configure a sort of mesh VPN setup between five routers in such a way that every router can conect to every other roughter through VPN over an emulated

  • How to make cash account balance Zero at the end of the year

    Hi, We have one account 200180 with 1000 Company code( Germany), and document currency is HKD(Hong kong Dollor), but LC is Euro and it is a cash account. At the end of the year, this account shows 0 balance in HKD, and 10,000 in Euro. I understand th

  • IPod, iTunes, & Outlook Calendar

    I recently updated to iTunes v5.0 and was excited to find that I could sync my Outlook Calendar and Contacts. I enabled the setting to automatically update my calendar and contacts. When I update, the transfer of my contacts is fine. However, when iT

  • Mountain lion will not download on mac air.

    I have a late 2010 mac air, purhcased mountain lion, clicked download and all it does is show me the circling icon at the top of the app store but does not proceed to download it. I can click it as many times as I like but it will not download!! I ha