Html for an applet with swings in 1.4.1 or 1.3.1

Can anyone send me an html document to launch the applet in a browser. I have very basic html, but I need one that uses the appropriate plug-in and that has parameters such as height, width, etc. My applet uses tabbed panes, dialog boxes and comboboxes.
Thank you for your help
here is what I am using which does does show anything but a grey screen
<HTML>
<HEAD>
<TITLE>
CIS 602 Semister Project
</TITLE>
</HEAD>
<BODY>
<BR>
<H3>
<CENTER>
Swing
</CENTER>
</H3>
<H3>
<BR><BR>
<P><H3>
<CENTER>
<BR><BR>
<P><h2>
Structured Problem Solving Strategy
</h2>
<blockquote>
<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.1 -->
<SCRIPT LANGUAGE="JavaScript"><!--
var info = navigator.userAgent; var ns = false;
var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "570" HEIGHT = "500" codebase="http://java.sun.com/products/plugin/1.1.2/jinstall-112-win32.cab#Version=1,1,2,0"><NOEMBED><XMP>');
else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.4.2" java_CODE = "semiclient.class" WIDTH = "570" HEIGHT = "500" pluginspage="http://java.sun.com/products/plugin/1.1.2/plugin-install.html"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE = "semiclient.class" WIDTH = "570" HEIGHT = "500" ></XMP>
<PARAM NAME = CODE VALUE = "semiclient.class" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4.2">
</APPLET>
</NOEMBED></EMBED></OBJECT>
<!--
<APPLET CODE = "semiclient.class" WIDTH = "570" HEIGHT = "500" >
</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->
</Center>
<BLOCKQUOTE><PRE>
</PRE></BLOCKQUOTE>
</H3>
<BLOCKQUOTE><PRE>
</PRE></BLOCKQUOTE>
</H3>
</BODY></HTML>

Its been awhile since I messed with java("that is why I am here now,so I can brush up") but why don't you get the htmlconverter. http://java.sun.com/products/plugin/1.3/docs/htmlconv.html
Good luck

Similar Messages

  • Do I need to make an applet with swing point to the JRE 1.4 plug-in?

    Do I need to make an applet with swing point to the JRE 1.4 plug-in? I mean, in 1.3.1 plug-in, if you did not run your code through the HTML converter, the applet would still use the browsers JRE (JVM). However, with 1.4.0, it seems that you don't need to. Is this correct?

    When you ran an applet that has been compiled under 1.4 and needs classes or methods from 1.4 with an old HTML file (presumedly with the <object> tag that still refers to JRE 1.3+), the browser is going to look at the <object> tag and see that at least JRE1.3.1 is needed to correctly run the applet and since 1.4, which is higher than 1.3+, is on the system, it ignorantly proceeds to load and run the applet. The problem that you're going to run into is when you deploy the applet on the web and your viewer only have JRE1.3+, your applet which really needs 1.4, will crap out....
    ;o)
    V.V.

  • Applet with swings

    Hi
    I developed a applet using swing componets.But it doesn't work.
    I used jdk1.3.1 for development.And I am using IE 5.0 and Netscape4.7 browsers.
    can any body help me what could be the problem?
    thanks

    Just explain the problem, might be i can help u.
    Any ways u should have the Plugin to run the Swing applet.
    Best of Luck!
    Ahmad Jamal.

  • Frame Decoration in Applet with Swing

    Hi
    I have an applet that pops up a frame. Newly created JFrame has swing components on it.
    When I call setDefaultLookAndFeelDecorated(true)on frame it keeps on showing the status bar at the bottom of new window/frame (which it is not supposed to). Also new window does not show border around this status bar.
    Any ideas or help is greatly appreciated.
    Regards

    marcelom wrote:
    Pls, ..When someone types 'pls' instead of 'please' because it is shorter, I feel quite justified in replying 'no' rather than 'yes', on the basis that it is shorter. OTOH I note you are new to the Sun forums, so I will help this time. Please spell words (including 'thanks') fully in future.
    Note carefully what the other reply mentioned, some good points I will not repeat.
    Perhaps this is more along the lines of what this applet needs. Adjust the arguments provided to the EmptyBorder constructors, for exact layout required (I never saw both the content and label on-screen at any time - with your version).
    // <applet code='AppletSwing' width='200' height='150'></applet>
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class AppletSwing extends JApplet{
        public void init()
            this.setLayout(new BorderLayout());
            JTextField texto = new JTextField("Content", 10);
            JPanel  p = new JPanel(new BorderLayout());
            p.setBorder(new EmptyBorder(50,50,50,50));
            p.add( texto );
            this.add(p, BorderLayout.SOUTH);
            JLabel label = new JLabel("Label", JLabel.CENTER);
            label.setBorder(new EmptyBorder(5,5,5,5));
            this.add(label, BorderLayout.NORTH);
    }

  • Applet with Swing

    Pls, if anyone would like to help me...
    Why in the first presentation the word Content is not shown as expected?
    import java.awt.Graphics;
    import javax.swing.JApplet;
    import javax.swing.JTextField;
    public class AppletSwing extends JApplet{
        public void init()
        public void start()
            this.setLayout(null);
            JTextField texto = new JTextField("Content");
            texto.setBounds(50, 50, 100, 50);
            this.add(texto);
        public void paint(Graphics g)
            g.drawString("Label", 5, 80);         
        public void stop()
        public void destroy()
    }Tks,
    MM

    marcelom wrote:
    Pls, ..When someone types 'pls' instead of 'please' because it is shorter, I feel quite justified in replying 'no' rather than 'yes', on the basis that it is shorter. OTOH I note you are new to the Sun forums, so I will help this time. Please spell words (including 'thanks') fully in future.
    Note carefully what the other reply mentioned, some good points I will not repeat.
    Perhaps this is more along the lines of what this applet needs. Adjust the arguments provided to the EmptyBorder constructors, for exact layout required (I never saw both the content and label on-screen at any time - with your version).
    // <applet code='AppletSwing' width='200' height='150'></applet>
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class AppletSwing extends JApplet{
        public void init()
            this.setLayout(new BorderLayout());
            JTextField texto = new JTextField("Content", 10);
            JPanel  p = new JPanel(new BorderLayout());
            p.setBorder(new EmptyBorder(50,50,50,50));
            p.add( texto );
            this.add(p, BorderLayout.SOUTH);
            JLabel label = new JLabel("Label", JLabel.CENTER);
            label.setBorder(new EmptyBorder(5,5,5,5));
            this.add(label, BorderLayout.NORTH);
    }

  • Was trying to create an applet with Swing, but even with something simple..

    import javax.swing.*;
    public class batard extends JApplet
    public void init()
         JTextField first = new JTextField();
         add(first);
    I've been compiling this applet successfully, although I'm not able to run it under Explorer... Any help would be appreciated ;)

    There are the errors I get:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at sun.applet.AppletSecurity.checkAccess(Unknown Source)
         at java.lang.ThreadGroup.checkAccess(Unknown Source)
         at java.lang.Thread.init(Unknown Source)
         at java.lang.Thread.<init>(Unknown Source)
         at javax.swing.TimerQueue.start(Unknown Source)
         at javax.swing.TimerQueue.<init>(Unknown Source)
         at javax.swing.TimerQueue.sharedInstance(Unknown Source)
         at javax.swing.JApplet.<init>(Unknown Source)
         at batard.<init>(batard.java:4)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • Launching a JWS-based applet with dynamic parameters

    Hi all,
    is it possibile to return a jnlp content for an applet with session-related parameters in a dynamic manner through cgi?
    I've got a cgi program which authenticates the user and, after some forms, launches an applet passing some parameters to it (a "userid" and others user-specific).
    This works, but now I'd like to use JWS.
    So From:
    cgi --> html applet with user-specific parms --> browser
    I'd need something like:
    cgi --> jnlp with html applet with user-specific parms --> browser
    Any idea?
    thanks in advance
    marco

    Write the cgi in a way that it does not only check the user permissions but that also, if successful, prints out a html page that includes a link to a freshly generated jnlp file, generated by that cgi script just after authorization was
    successful.
    You can put command line args in a jnlp, so generate those parts of the jnlp according to your demands.
    Regards,
    Marc

  • Certificate for intranet applet

    Hi I have a self singed applet and I'm having the same security issues with the latest updates from version 7, so I want to sign my applet, but since this applet is running from an intranet site, how can I buy a certificate since it doesn't have a public domain, or can I use a certificate for any other public domain and use it in my applet?
    Can you help me with this?

    What I've done is to import the certificate into a keystore on the web server. I also have the policy file (also on the web server) pointing to this keystore. This works fine, as long as either one of the following is true:
    1) the java.security file on the client has a policy.url entry thta points to the policy file on the web server
    2) The runtime parameters for the plug-in specify the policy file on the web server (e.g. -Djava.security.manager -Djava.security.policy={location of policy file on web server})
    I'm trying to figure out a way to not have an automated procedure change the java.security file on the client (though I'll use this approach if needed). I also don't want to change the runtime parms on the plug-in (will affect other applets). If there is a way to specify this in the HTML for my applet, that would be perfect. Any ideas (will be posting this as a separate thread).
    Thanks,
    Van Williams

  • Looking for img rotator with responsive design

    does any one know code for html for img rotator with responsive design

    Copy & paste this code into a new, blank document in DW.  SaveAs test.html  Preview in Firefox or Chrome.  IE is rubbish.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Cycle2</title>
    <!--helpf for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Slideshow Plugin-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    /**Slideshow**/
    .cycle-slideshow {
        position: relative;
        z-index: 1;
        width: 50%; /**adjust width as required**/
        margin:75px auto;
        text-align: center;
    .cycle-slideshow img { max-width: 100% }
    /* prev / next links */
    .cycle-prev, .cycle-next {
        position: absolute;
        top: 0;
        width: 20%;
        opacity: 0;
        filter: alpha(opacity=0);
        z-index: 800;
        height: 100%;
        cursor: pointer;
    .cycle-prev {
        left: 0;
        background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;
    .cycle-next {
        right: 0;
        background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;
    .cycle-prev:hover, .cycle-next:hover {
        opacity: .7;
        filter: alpha(opacity=70)
    /**END SLIDESHOW STYLES**/
    </style>
    </head>
    <body>
    <h1><a href="http://jquery.malsup.com/cycle2/">JQuery Cycle2</a></h1>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-fx="scrollHorz"
        data-cycle-pause-on-hover="true"
        data-cycle-speed="600"
        >
    <!-- prev/next links -->
    <div class="cycle-prev"></div>
    <div class="cycle-next"></div>
    <!--insert your images below-->
    <img src="http://jquery.malsup.com/cycle2/images/p1.jpg" alt="description">
    <img src="http://jquery.malsup.com/cycle2/images/p2.jpg" alt="description">
    <img src="http://jquery.malsup.com/cycle2/images/p3.jpg" alt="description">
    <img src="http://jquery.malsup.com/cycle2/images/p4.jpg" alt="description">
    <p>Mouse over image for previous / next links</p>
    </div>
    <!--end slideshow-->
    </body>
    </html>
    Nancy O.

  • JSP Plugin tag for applets with codebase - WLS 6.1 sp2

              Could someone please tell me what I am doing wrong?
              I have the following Plugin tag in my JSP.
              <jsp:plugin type="applet"
              code="com.xxx.efm.frontend.view.EFMApplet"
              codebase="/lib"
              archive="applets/EFMFrontend.jar, EfmCommon.jar, TrimmedWeblogic.jar, dom4j-full.jar,
              /classes/"
              jreversion="1.3"
              nspluginurl="http://java.sun.com/products/plugin/1.3/plugin-install.html"
              iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-131-win32.cab">
                   <jsp:params>
                        <jsp:param name="Delimiter" value="<%=delimiter%>" />
                        <jsp:param name="ComponentMap" value="<%=componentMapValues%>" />
                        <jsp:param name="ServerConfig" value="<%=serverConfigValues%>" />
                        <jsp:param name="GUIConfig" value="<%=guiConfigValues%>" />
                   </jsp:params>
              </jsp:plugin>
              I am trying to load the JSP using Netscape 4.7. When I don't have a plug-in installed
              the page
              displays "Click here to get the plugin". On clicking on it the browser pops up
              a "Plugin not loaded" dialog.
              All this is fine except that the dialog says it can retrieve the plugin from "/lib".
              When I click on
              "Get the plugin" button the new browser window tries to load the URL: http://localhost:2002/lib/?application/x-java-applet;version=1.3.
              It totally ignores the netscape URL for plugin. Something similar happens with
              IE as well.
              I tried the same JSP without the codebase tag and all worked fine (except for
              my applets). Yeah, I can append a "/lib" to each of
              my jars in my archive and it just might work. But should I be doing anything different?.
              Any help is appreciated.
              Thanks,
              Gopal
              

    I am facing the same problem with netscape (4.7x). Gopal, did you find any
              solution?
              IE works fine for me. I use the foll pluginurl
              iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#V
              ersion=1,3,1,1"
              _Jp
              "Gopal" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Could someone please tell me what I am doing wrong?
              >
              > I have the following Plugin tag in my JSP.
              >
              > <jsp:plugin type="applet"
              > code="com.xxx.efm.frontend.view.EFMApplet"
              > codebase="/lib"
              > archive="applets/EFMFrontend.jar, EfmCommon.jar,
              TrimmedWeblogic.jar, dom4j-full.jar,
              > /classes/"
              > jreversion="1.3"
              >
              nspluginurl="http://java.sun.com/products/plugin/1.3/plugin-install.html"
              >
              iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-131-win32.cab"
              >
              >
              > <jsp:params>
              > <jsp:param name="Delimiter" value="<%=delimiter%>" />
              > <jsp:param name="ComponentMap" value="<%=componentMapValues%>" />
              > <jsp:param name="ServerConfig" value="<%=serverConfigValues%>" />
              > <jsp:param name="GUIConfig" value="<%=guiConfigValues%>" />
              > </jsp:params>
              > </jsp:plugin>
              >
              > I am trying to load the JSP using Netscape 4.7. When I don't have a
              plug-in installed
              > the page
              > displays "Click here to get the plugin". On clicking on it the browser
              pops up
              > a "Plugin not loaded" dialog.
              > All this is fine except that the dialog says it can retrieve the plugin
              from "/lib".
              > When I click on
              > "Get the plugin" button the new browser window tries to load the URL:
              http://localhost:2002/lib/?application/x-java-applet;version=1.3.
              > It totally ignores the netscape URL for plugin. Something similar happens
              with
              > IE as well.
              >
              > I tried the same JSP without the codebase tag and all worked fine (except
              for
              > my applets). Yeah, I can append a "/lib" to each of
              > my jars in my archive and it just might work. But should I be doing
              anything different?.
              > Any help is appreciated.
              >
              > Thanks,
              > Gopal
              

  • URGENT Help for applet with JAR file in Netscape

    I am having Applet with few classes
    Html is in /www directory
    and all class files are in /www/javaclassfiles
    I jared all javaclassfiles with following command
    c:\www\javaclassfiles>jar -cvf sample.jar TaxPaymentAppletForm.class *.class
    where sample.jar is my jar file and TaxPaymentAppletForm.class is the main applet class file.
    THEN I DELETED ALL CLASS FILES & KEPT ONLY SAMPLE.JAR FILE ON SERVER
    My html code is like below:
    <APPLET CODE="TaxPaymentAppletForm" ARCHIVE="sample.jar" CODEBASE="JavaClassFiles" WIDTH=460 HEIGHT=400></APPLET>
    The things are running on IE properly, but not on Netscape. Netscape is giving following error :
    java.io.IOException: <null>
    at netscape.net.URLConnection.connect(Compiled Code)
    at netscape.net.URLConnection.getInputStream(Compiled Code)
    * at netscape.applet.AppletClassLoader.grabArchiveFile(Compiled Code)
    at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
    at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
    at netscape.applet.AppletClassLoader.<init>(Compiled Code)
    at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
    at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
    at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
    at java.awt.EventDispatchThread.run(Compiled Code)
    at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
    # Unable to load archive http://nearbuy_server:90/iras/JavaClassFiles/sample.jar: java.io.IOException: <null>
    # Applet exception: class TaxPaymentAppletForm could not be loaded
    # Applet exception: class TaxPaymentAppletForm could not be loaded
    # Applet exception: class TaxPaymentAppletForm could not be loaded
    In netscape also it is sometimes running some times not, without any logical reson.
    Any help regarding this is appreciated
    manisha

    Following is the more detailed analysis when applet is running and when not
    On local server, it is running fine on both IE / Netscape
    When I transfered jar file to live server
    On IE it is running for the first time and then onwards not running, If I clear the catch then again applet is running.
    For second time it is giving following error :
    IOException Loading Archive: http://dev1.janusx-collections.com/iras/JavaClassFiles/AppletForm.jar
    java.io.IOException: dev1.janusx-collections.com:80//iras/JavaClassFiles/AppletForm.jar
    at com/ms/net/wininet/http/HttpInputStream.connect
    at com/ms/net/wininet/http/HttpInputStream.<init>
    at com/ms/net/wininet/http/HttpURLConnection.createInputStream
    at com/ms/net/wininet/WininetURLConnection.getInputStream
    at com/ms/vm/loader/JarArchiveSet.loadNextJar
    at com/ms/vm/loader/JarArchiveSet.getResourceBits
    at com/ms/vm/loader/JarArchiveSet.getClassData
    at com/ms/vm/loader/ResourceLoader.getClassData
    at com/ms/vm/loader/URLClassLoader.findClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: TaxPaymentAppletForm
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    ON Netscape it is NOT running at all on from live server and error is as given in above first post.
    manisha

  • HTML for multi-archive applet

    Could someone point me to some sample HTML for running an applet? Examples litter the web but I can't find anything that meets the following criteria:
    1. Valid XHTML 1.1 (uses 'object' tag).
    2. References multiple JAR files.
    3. Applet class not in default package.
    4. Executes successfully on latest versions of both Internet Explorer and Firefox.

    >
    I've made the app available via JNLP as well but was hoping to provide a version that would not require any user confirmations ..>Any JWS app. that requires 'user confirmations' would also require the end user to 'confirm' the digitally signed applet code.
    >
    ..and will remain embedded in a web page. >From 1.6.0_10+, an applet configured by JNLP can remain 'embedded in a web page'.
    >
    ..I don't understand why such a seemingly straightforward task entails a "heap of trouble" anyway. I got it working in Firefox with the following:
    I'm probably just missing some minor tweak for IE?>Out of just two browsers, probably on a single OS, you are already experiencing 'technical difficulties' with 50% of the target browsers. Multiply that to 4 major browsers across 3 OS' and you end up with 12 browser/JRE combos. Add to that odd little eccentricities in particular browser builds (e.g. at one time an entire page and applet would be reloaded in FF if the user scrolled 'up' - that is just one of my favourite quirks, not so much a rare one).
    That is (the tip of the iceberg) of why I mentioned it was a "heap of trouble" embedding an applet in a web page.
    Having said that, I am not able to advise on any tweak for IE. I am running Ubuntu, and on the occasions I deploy applets, I do it in HTML 4.01 Transitional (HTML 3.2 with styles added), and use the applet element.

  • How to disable html for whole swing application.

    Hi,
    As we can disable html for individual swing components , for example JLabel
    label.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(label,"html.disable");
    is there any way to disable html rendering in swing components for system wide / whole application?.
    Thanks
    Kiran

    Better use a utility method in the application like this
    public static void disableHtml(JComponent component)
    component.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(component,"html.disable");
    call disableHtml(Component u want to set html disable) for any component in the application.

  • Safari for Mac, webpage with Java applet, drag and drop area not working.

    At my company, we have a web page that our users access to submit media files, (QuickTime, Audio, images...), for transcoding for delivery.  The web page consists of a java applet, with an area that our users drag and drop media file into.
    After updating to Safari 5.1.2, the applet will not work anymore. Instead, the browser will "open" the quicktime and play it, instead of allowing the Java Applet to do it's job.
    CAN I TURN THIS FUNCTIONALITY OFF??
    I read that Safari 5.1.2, (when it was initially released), broke something with the THEN current version of Java, and everyone was awaiting the latest update (build 1.6.0_29) to fix it. Unfortunately, this update did not fix my issue with the functionality of dragging and dropping media files into the web page.
    It seems to me, as if, there is an over-arching functionality setting (or something) that needs to be either turned off, or in some other way DE-prioritized.
    Anyone have any ideas?
    Safari 5.1.2
    MacOS 10.6.8
    MacBook Pro

    Thanks for quick reply and help. I am able to drag multiple files but this is giving problem in case of filename with spaces like "abc def.png". Can you please put some thoughts on this.
    DataFlavor uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
                   Reader in = (Reader)t.getTransferData(DataFlavor.plainTextFlavor);
                   BufferedReader br = new BufferedReader(in);
                   String uriStr;
                   while ((uriStr = br.readLine()) != null)
                       URL url = new URL(uriStr);
                       String category = GalleryUtils.contentsPanel.getCurrentCategoryPath();
                       GalleryUtils.generateILPFromFile(new File(url.getFile()), category);
                   }Thanks
    Kanni

  • How to send Html Mail through navigateToUrl() with contentType "text/html" for Android ?

    Isn't it possible to send Html Mail through navigateToUrl() with contentType "text/html" for Android ? please suggest any workaround
    Thanks

    AHHHH
    What you can do to make HTML for Apple Mail is to make it in an HTML editor, open it with Safari use CMD+i - a new mail message will appear in a moment with the web page in the email body.
    You can't do any major editing in Mail, you'll have to go back to the HTML file. But it works.
    You can also use Copy (from a web page) and then (Edit) Paste as HTML (that what Paste as HTML is for, not for creating HTML email). You can also user Paste as HTML to copy/paste a HTML email you receive or part of a HTML email.

Maybe you are looking for

  • I have music that will not play and cannot be removed from my iPhone 4. Any ideas on how to remove them?

    I bought itunes match over a year ago and didn't really like it so I removed it from my phone/itunes library altogether but I still have like 12 songs that are stuck on the phone and will not play because my itunes match has now expired, they can't b

  • Printing Duplex

    I'm using Vista SP1 and Adobe Reader 8.1.2. When I open a PDF (or an email) to print I click on 'Properties' in order to print duplex. Unfortunately Adobe just closes without printing. Has anyone experienced this? Any ideas on how to resolve?

  • Batch sequence to 'flatten' xfa form to static non-interactive AcroForm

    Hi, I'm looking for a way to flatten a bunch of xfa forms in a batch sequence. The result being the exact same as printing to pdf. I believe I use to just add optimizer settings in the sequence editor and that would do the trick. But now I'm getting

  • Access Migration Failure: Error 3021 Method 'Run' of object

    I am doing a proof-of-concept to migrate and convert some Access applications. I downloaded the migration tool and then tried the Northwind mdb to verify it worked and all went as planned with a SQL output file. When I run it against a working copy o

  • Count between

    Hi, I'm primarily a Java developer, but I have to write a reporting tool in a proprietary framework (read as inflexible framework). I'm stuck with a legacy database. I have a table containing a log of events belonging to different users: Username Eve