Tutorials for using javax.help package api's

hi! i m woking on javax.help package for my project nowadays. i will be grateful if someone can guide me that where i can find sample codes and tutorials for using api's in this package.
thanks. bye.

tutorials for using javax.help package api's

Similar Messages

  • Setting Importance Level for a email message using javax.mail.* API

    Setting Importance Level for a email message using javax.mail.* API
    From what I understand we can set Flag on Email Message. How can we set Importance Leve: High/Low for an email message?
    Thanks
    Purvi

    Most of the message Flags work only for IMAP mailboxes. POP3 supports only the DELETED flag. It must be understood that Javamail is a framework which provides all the features available in a standard mailing system. But whether or not a particular feature works is a functionality of the particular implementation being used.
    Thus for example POP3 cannot differentiate read from unread messages in a mailbox though Javamail provides that feature.

  • Error using javax.mail package

    Hi,
    I have included the package javax.mail.* in my code.I have downloaded
    jaf 1.0.2 and javamail 1.1.3 from the Sun Microsystems website.
    When i try to compile my code i get the error message:
    com/voxspectrum/ccvox/EmailServer.java:55: cannot resolve symbol
    symbol : class MimeMessage
    location: class com.voxspectrum.ccvox.EmailServer
    javax.mail.Message msg = new MimeMessage(session);
    I am using JDK ver 1.3.1_02. What should i set my path and classpath as, if i am using javax.mail package?
    Please could you help me out with this problem!

    Hi Nisha
    You need to include the path to the mail.jar and activation.jar files in your classpath.
    How you do it depends on the OS you are running on
    in Windows 95 /98 the easiest way is to edit the autoexec.bat file and add the settings to your already existing classpath statement i.e.
    set CLASSPATH=%CLASSPATH%;C:\richard\javamail-1.3\mail.jar C:\richard\jaf-1.0.2\activation.jar
    (excuse the word wrapping) then reboot
    on Linux / Solaris edit the .profile file for your user and set the CLASSPATH variable to
    CLASSPATH=$CLASSPATH:<pathtofile>/mail.jar:<pathtofile>/activation.jar
    export CLASSPATH
    and that should do it
    Hope this helps

  • Error when using javax.script package

    Hi
    I want to call a javascript method from a .js file from .java class.
    when i searched, i came to understand that using jdk1.6 i can use javax.script package tht provide me what i needed.
    using the reply i got from i earlier post, i tried one example.
    public void show() {
    ScriptEngineManager engineMgr = new ScriptEngineManager();
    ScriptEngine engine= engineMgr.getEngineByName("JavaScript");
    try {
    engine.eval(new FileReader("D:/ShowScript.js"));
    Invocable invocableEngine = (Invocable) engine;
    //show_message is my function in ShowScript.js file
    invocableEngine.invokeFunction("show_message",null);
    } catch (Exception e) {
    e.printStackTrace();
    ShowScript.js
    function show_message()
    println("===> hi");
    alert("hi");
    When i execute my program, im getting the following error
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "alert" is not defined. ( #8) in at line number 8
    at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:184)
    at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:142)
    at testbuiltin.backing.Show_alert.show(Show_alert.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    When i remove the alert() from the js file, the println is working. But what i neede is the alert.
    Can anyone plz help me to solve this problem.

    As you're talking about "backing beans", are you using JSF?
    After all, this is definitely not the way to let Java and JS interact with each other. Java runs at the server side. JS runs at the client side. Java can write JS code to the response, but definitely cannot call it. JS can access the HTML DOM and invoke requests to the server (form.submit() and AJAX and so on) and send parameters along the request, but definitely cannot call Java classes and methods independently. Nothing more and nothing less than that.

  • Recommended tutorials for using paths/vector art in Photoshop?

    Hi all!
    Can you recommend any good tutorials for using paths/vector art in Photoshop?
    Honestly, I've had a good look for even one - without much success.
    I Have lots of experience with paths/vector art in Illustrator, Fireworks and InDesign but I believe you really can do great things with them in Photoshop now for illustration work.
    i'm just baffled by it. I can fill and stroke and edit a vector shape in PS - but if I custom DRAW a vector path or shape, things get confusing!
    Hoping someone can point me in a helpful direction
    John

    John,
    I wouldn't claim to know everything there is to know, but I'm reasonably certain it hasn't changed.
    Are the 'shapes' just vector masks with a raster element inside?
    Yes. That's an accurate enough description.
    And if you apply a colour to a path that you've drawn - does it rasterise?
    It doesn't have to rasterize. If you see color, it's pixels.
    I was definitely of the impression that a lot more could be done in PS these days that might formerly have been done in ILLUSTRATOR.
    The shape/path tools in Photoshop have been enhanced and improved in recent years, but the product of their use still differs from Illustrator's true vector output.

  • Any good tutorials for using jQuery and ColdFusion to build mobile apps

    Does anyone know of any good tutorials for using jQuery and ColdFusion to build mobile apps?
    Thanks!
    Lee

    I was just this moment looking at this website http://jquerymobile.com/
    Then for you a Google search on Jquerymobile and coldfusion
    http://www.google.co.uk/search?q=jquerymobile+and+coldfusion&ie=utf-8&oe=utf-8&aq=t&rls=or g.mozilla:en-GB:official&client=firefox-a
    http://jquerymobile.com/resources/
    Brings me onto this tutorial
    http://www.raymondcamden.com/index.cfm/2011/8/26/Making-jQuery-Mobile-templates-even-easie r--with-ColdFusion

  • Importing Flex project into Flash CS5 for use with iPhone packager? Please Help.

    Hi all,
    I have been developing an application in Flex builder for the iPhone using the iPhone packager, where I've been using the Flex framework.
    Now I'm stuck at trying to use my existing libraries in Flash. It seems I can't add the UI components I used in Flex (class VideoExample) to the default Flash container. I need someone's help who has experience with that.
    I have created a .SWC file, but when I'm trying to add the container in Flash using addChild(new VideoExample) it doesn't work. I can't load the .SWF externally using loader.load() at runtime, because the application is for iPhone. Any solutions how could I import the project to Flash?
    I was thinking about changing the UI components classes from mx.* to fl.*, but I would have to change many code and I'm not sure if it would even work, and I don't want to loose compatibility with mxml.
    Please respond, help would be very much appreciated!
    Here's my mxml wrapper, from which I start the main application:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="EntryPoint.main()">
    </mx:Application>
    Then I have a class which creates the main container:
    package {
    import mx.core.*;
    public class EntryPoint {
        public static function main():void {
            var client:VideoExample = new VideoExample();
            var mxmlApp:Application = Application(Application.application);
            mxmlApp.addChild(client);
    Here is the main class VideoExample:
    package {
    import mx.controls.*;
    import mx.containers.*;
    public class VideoExample extends Canvas {
        public function VideoExample() {
            super();
            init();
            private function init():void {
            loadImage();
            loadText();
                    loadDisplay();
                    startConnection();

    This forum is for Flash Media Server Developers so most likely you migth get much traction here. I would recommend you to post your query on Flash Builder forum: http://forums.adobe.com/community/flash_builder/using_flash_builder
    Also you can try posting here:
    Flash Platform Services For Promotion - http://forums.adobe.com/community/promotion
    Flash : http://forums.adobe.com/community/flash/flash_general

  • Best practices for using javax.sound.sampled.Clip?

    I've got a very simple Swing-based puzzle game. When the user performs certain actions, I want to play a trivial little sound. So far, I'm using the Java Sound API (javax.sound.sampled). When the actionPerformed method is called, my model is updated, which triggers an event in the same thread, and one of the listeners, plays a sound like this:
    this.clip.setFramePosition(0);
    this.clip.start()The clip had been previously initialized like this:
              InputStream in = null;
              AudioInputStream ain = null;
              Clip tempClip = null;
              try {
                   in = BubblePopSound.class.getResourceAsStream("pop2.wav");
                   ain = AudioSystem.getAudioInputStream(in);
                   try {
                        DataLine.Info info = new DataLine.Info(Clip.class, ain
                                  .getFormat());
                        tempClip = (Clip) AudioSystem.getLine(info);
                        tempClip.open(ain);
                   finally {
                        ain.close();
              catch(UnsupportedAudioFileException uafe) {
                   // TODO Log that sound own't be played
              catch(LineUnavailableException lue) {
                   // TODO Log that sound own't be played
              catch(IOException ioe) {
                   throw new RuntimeException("IOException reading sound clip", ioe);
              finally {
                   if(ain != null) try {
                        ain.close();
                   catch(IOException ioe) {}
                   if(in != null) try {
                        in.close();
                   catch(IOException ioe) {}
              this.clip = tempClip;So my goal was to load the clip once, and be able to trigger the playing of it repeatedly. Hoever, it only works intermittently. Reading through the http://www.jsresources.org site, the Java Sound homepage, forums, etc. I feel like I don't truly understand the best way to play simple audio clips like this. These questions are still lingering:
    - When I call clip.start(), does it play in the current thread, or am I triggering something to start the playing independent of the thread?
    - Do I need to call stop explicitly?
    - What if the user triggers the sound again before it has finished playing?
    - Do I need to close the clip with the playing has stopped, or is it ok to keep it "open" so its ready to play again and again?
    - If I can keep it open, do I need to worry about cleaning it up later?

    If your sound file is < 1 second long and you are using the JDK/JRE 1.5.0 (pre _02 update I think) then the sound code is bugged and is likely the cause of the sound problem. Try updating your JRE/JDK to 1.5.0_03 and try the sound again. If that's not it I can't help.
    - When I call clip.start(), does it play in the current thread, or am I triggering something to start the playing independent of the thread?Not quite sure, but it doesn't seem to be interrupted when I start playing a sound and sleep the thread. It might buffer the sound data in the sound card or it might use a different thread. (Interesting to know if someone has that knowledge...)
    - Do I need to call stop explicitly?No.
    - What if the user triggers the sound again before it has finished playing?It should play the new sound as well (but when many are going some might be cut off. It functions adequately for my game (check out Javoids on sourceforge -- need latest JRE or JDK).
    - Do I need to close the clip with the playing has stopped, or is it ok to keep it "open" so its ready to play again and again?Don't bother. Use this instead "clip.setFramePosition(0);"
    - If I can keep it open, do I need to worry about cleaning it up later?Java is garbage collected so you rarely have to be worried about that. No.

  • How to use javax.* packages in Applet?

    If I want use javax.media.* in an applet and hope there's no need for the visitors installing JMF in their machines,
    how should I do?

    Hi rapy_xjb!
    It's troublesome, would need to deploy applet and all dependent classes! A lot of files to download (in jar file or not)! Think in benefits to user after installing Java plug-in. My lemma: Java and diamonds are forever!
    Best regards.

  • Can we use javax.xml.parser API's from j2sdk kit?

    Hi All,
    I am new to this jaxp API's and my first doubt is Can I use the javax.xml.parser API which come bundled with j2sdk-1.4.1 or Should I install JWSDP-1.3 to get to javax.xml.parsers API?
    Thanks

    Hi,
    I am trying to read an xml file on Solaris.
    Can we not use doc.getElementById(String elementID) after deriving doc obejct ?
    Here is the code I am trying to use:
    try
    factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(false);
    File file = new File("/command/parse_doc.xml");
    doc = factory.newDocumentBuilder().parse(file); //upto here it works
    Element element = doc.getElementById("Topics");
    String name = element.getTagName(); //returns nothing but throws exception "null"
    }catch(Exception exe){
    out.println("Exception:" + exe.getMessage());}
    here I get no such element, and the try catch block exception also null.
    Is there something I am missing?
    DO I have to call doc.getDocumentElement() before I call get ElementBy ID() and if so why?
    Thanks.

  • Are there any tutorials for calling the Apple StoreKit API with a DPS app?

    Are there any tutorials or resources for learning how to sell a 'non-consumable' in a DPS app running on iOS.
    Mark 

    You have two options:
    One get the OE creation script from some other Oracle install and install them on the XE database.
    More info on where to get it is here:
    http://www.oracle.com/technology/obe/obe_as_1012/j2ee/common/obeconnection.htm
    Or just use HR tables instead - most of the tutorials simply use a master details relationship - so in OE it is usually the customer who has order - and you can adopt it to the HR schema using the departments that has employees.
    Don't know about the XE license, you might want to ask this on the XE forum.
    Shay

  • Using Javax.Servlet package for the first time

    Hello everyone.
    I have (to some) the dumbest question, however I am new to this side of Java.
    I'm trying to create my first Servlet page, and I have Java 2 Standard edition (JDK1.3). I also have JBuilder (JDK1.3.1).
    My class seems to be unable to find the javax.Servlet.* packges.
    It seems I don't have the package available to my compiler, so I cannot compile my application.
    Someone please point me in the right direction.
    Thanks
    Rich

    you would also need to have a servlet runner. you could use tomcat jakarta.apache.org (it's the standard implementation for servlets). With Tomcat also comes the servlet package.

  • Tutorials for using the UI element  "Network" in webdynpro.

    Hello,
      Where can I find tutorials or illustrations of using the Active component/UI element "Network" in webdynpro.
    Regards,
    Anupama.

    This is the only video tutorial that I know of:
    http://tv.adobe.com/watch/insights-on-acrobat-solutions/introducing-adobe-reader-for-ios/
    Unfortunately, that is fairly old and doesn't cover any of the editing features. More tutorials would be a great idea: Thanks for the suggestion. As for changing the color and size of a freehand drawing, please tap on the drawing. This should show a menu from which you can choose "Delete, Thickness, Color, Opacity". Once chosen, we will remember your choice for subsequent drawings. Hope this helps!

  • Invoke wallet key for use with DBMS_CRYPTO package

    Hello,
    I intend to use DBMS_CRYPTO and use personal key that is already stored in a wallet (file). Which steps must i take to bring this key as a parameter to DBMS_CRYPTO.ENCRYPT for encypting BLOB. Al examples i found till now use only self created keys.
    Many thanks to enyone who can help me with an advice.
    Ernest

    Sorry, but you're in the wrong forum (as this one is only for issues with the SQL Developer tool). You'll get more answers in the SQL And PL/SQL forum.
    Have fun,
    K.

  • How tu use or install package API Toolkit BPC

    Dear All,,,
    I have problem with performance SAP BPC, then i read SAP Note from SAP Support Portal. In that document, there are download API toolkit. I don't understand how to use this file (API Toolkit)...??
    Any Idea..??
    Thanks...
    Dharma Setiadi

    The reflow plug-in is installed by default when you install Reader. In order for it to work optimally, the document should be correctly tagged, which is something you can do in Acrobat. To activate Reflow in Reader X, select: View > Zoom > Reflow

Maybe you are looking for

  • Tablet pc ideatab a1000-t flashing

    sir/madam i need flashfile and tool for tablet pc ideatab a1000-t . i get a1000f flash done success but there is no calling facility. so please send tablet pc ideatab a1000-t  flashing files and tools.... its urgent  i went to outsation thats y.

  • Trouble with help button

    I cannot access help.  I have Adobe Elements 7 and each time I try to use help I get the message "The requested help topic could not be found, Reinstall to fix the problem.  I have reinstalled and still get the same message. How do I resolve this?

  • Problem with infoset/query: Some data are missing

    hi all, i created an infoset and a query with tables AGR_AGRS (composite/single roles) and AGR_TCODES (tcodes in roles)with SQ01/02. Problem is that some roles without tcodes dont appear in the report(no data in AGR_TCODES) I tried to change properti

  • How to speed-up CALC Dim and/or AGG Dim

    Hello Everyone, I am new to Essbase and apologize for such a generic query. I came across a calculation script that takes more than 10 hours to execute. The crux of the script is CALC Dim (DIM) where DIM is a dense dimension with 11 levels (and a lot

  • Hi expert, i am new i want to know how to start business object

    Hi all, I am working in sap b1. i want to use business object for my client. how to use and code in that if any one give ans very appreciate. how use excel in that. how to connect database with map and how to use selectors. how to use chart and conne