Java 2D and Polylines- General Path

Hello everyone,
with a friend we have to prepare a project for the university. There are a lot to be done however the most important to be done first is drawing a General Path, providing two arrays. One of x coordinates and one of y coordinates. So I tried Java 2D but I am afraid a have some problems understanding how java2D works. To start, I need to create an application which draws a polyline (open). However mosr examples I've been through are only referring to applets, but I need an application instead. I have a problem moving from the examples in applets to an application. I want to give me some tips on how to create the application. If haven't gotten accross I'll be glad to provide some more detailed info.
Thanks in advance.

import java.awt.*;
import java.awt.geom.GeneralPath;
import javax.swing.*;
public class ExampleApp
    public ExampleApp()
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(new PathPanel());
        f.setSize(400,400);
        f.setLocation(200,200);
        f.setVisible(true);
    public static void main(String[] args)
        new ExampleApp();
class PathPanel extends JPanel
    GeneralPath path;
    public PathPanel()
        initPath();
    protected void paintComponent(Graphics g)
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        g2.draw(path);
    private void initPath()
        int[] x = { 40, 140, 200, 260, 360 };
        int[] y = { 40, 340, 80,  340, 40  };
        path = new GeneralPath();
        path.moveTo(x[0], y[0]);
        for(int j = 1; j < x.length; j++)
            path.lineTo(x[j], y[j]);
}

Similar Messages

  • Is there any difference between java Beans and general class library?

    Hello,
    I know a Java Bean is just a java object. But also a general class instance is also a java object. So can you tell me difference between a java bean and a general class instance? Or are the two just the same?
    I assume a certain class is ("abc.class")
    Second question is is it correct that we must only use the tag <jsp:useBean id="obj" class="abc.class" scope="page" /> when we are writng jsp program which engage in using a class?Any other way to use a class( create object)? such as use the java keyword "new" inside jsp program?
    JohnWen604
    19-July-2005

    a bean is a Java class, but a Java class does not have to be a bean. In other words a bean in a specific Java class and has rules that have to be followed before you have a bean--like a no argument constructor. There are many other features of beans that you may implement if you so choose, but read over the bean tutorial and you'll see, there is a lot to a bean that is just not there for many of the Java classes.
    Second question: I'll defer to someone else, I do way to little JSP's to be able to say "must only[\b]".

  • ABAP+Java Kernel and only Java Kernel

    Hi Friends,
    Is there any difference in ABAP+Java Kernel and only Java Kernel?
    Can we use the kernel for above both from the same location as below?
    1#
    Support Packages and Patches> Additional Components> SAP Kernel> SAP KERNEL 64-BIT UNICODE> SAP KERNEL 6.40 64-BIT UNICODE
    Following Files
    DB Dependent  - ORACLE
              SAPEXEDB_175-20000227.SAR
              DBATL640O92_44-20000227.SAR
    Database Independent
              SAPEXE_175-20000226.SAR
    Assuming above SAR files contain R3trans, R3load, tp ,... also.
    2#
    As per my knowledge SAP has given one more path to download J2EE SP's which contains Kernel and J2EE Support Packages.
    http://service.sap.com/patches --> Support Package and Patches -> Entry by Application Group -> SAP NetWeaver -> SAP NetWeaver -> SAP NetWeaver 04 -> Entry by Component -> Application Server Java -> SAP J2EE Engine 6.40 -> J2EERT19_0-10001982.SAR/J2EERT20_0-10001982.SAR (OS Independent) and CTRLDB219_0-20000114.SAR(OS Dendependent)
    What is the difference between above two kernels?
    1# contains R3trans, R3load, tp ...etc which is exclusively used by ABAP Stack related functions. The startsap script used here would check R3trans -d authentication successful before starting database and then only it starts the database from sidadm. I observed OPS$ users available in only ABAP schema SAPSID but not available in SAPSIDDB. If I use the kernel downloaded from 1# for Java Stack only system, startsap would fail as R3trans authentication fail as there is no ABAP schema in Java systems.
    This applies well for ABAP+JAVA or only ABAP based systems.
    If I use only JAVA Stack based system can I use the kernel downloaded from 1# . What is the kernel and SP available in 2#? Is this also contains the same kernel given in 1# or it is different. I also observed in JAVA they are not calling Kernels by Patch No like 154, 175... they call it by SP19. Please correct me if I am wrong.
    Did anyone come accross this type if issue? I would appreciate if anyone can clarify my questions given above.
    My main target is to have clear strategy for ABAP+JAVA, ABAP, JAVA kernels to avoid mess up. Which one to download? What is best practice? Differences?
    Thanks and Regards
    Prasad

    Hi Sacha,
    Thank a lot for your answer I am clear now. Before rewarding points to you.
    I have final question.
    You mean that there is not seperate kernel for Java Stack Systems.. When we apply SP11 or SP19 by default it applies Kernel and also support packages w.r.t the SP. Do we have option to seperate Kernel and Support package while applying SP's for Java System?
    If we take for example SAP NW 2004 (WAS 640) latest kernel is 175 (I mean ABAP+JAVA). If I want to know the latest kernel for Java Stack system, Do I need to say it is at level SP19 or check the sapwebdisp -V (Resepctive patch level)?
    For ABAP system we check disp+work -V to get the source kernel version. How to justify the source kernel version for Java System?
    As per SAP Note: 710914 - Upgrading the J2EE Engine Startup Framework after applying SP for Java System, Do we need to upgrade J2EE Startup Framework?
    Thanks and Regards,
    Prasad

  • Extract image and its file path

    Hi
    Here is my HTML source and i want to extract all <img tag and its file path in comma separated string using javascript or in Java
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <meta name=ProgId content=Word.Document>
    <meta name=Generator content="Microsoft Word 9">
    <meta name=Originator content="Microsoft Word 9">
    <link rel=File-List href="./index_files/filelist.xml">
    <link rel=Edit-Time-Data href="./index_files/editdata.mso">
    <!--[if !mso]>
    <style>
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style>
    <![endif]-->
    <title>Untitled Document</title>
    <!--[if gte mso 9]><xml>
    <o:DocumentProperties>
    <o:Author>fsl</o:Author>
    <o:LastAuthor>fsl</o:LastAuthor>
    <o:Revision>19</o:Revision>
    <o:TotalTime>15</o:TotalTime>
    <o:Created>2005-03-22T05:22:00Z</o:Created>
    <o:LastSaved>2005-03-22T06:00:00Z</o:LastSaved>
    <o:Pages>1</o:Pages>
    <o:Words>572</o:Words>
    <o:Characters>3263</o:Characters>
    <o:Company>fsl</o:Company>
    <o:Lines>27</o:Lines>
    <o:Paragraphs>6</o:Paragraphs>
    <o:CharactersWithSpaces>4007</o:CharactersWithSpaces>
    <o:Version>9.3821</o:Version>
    </o:DocumentProperties>
    </xml><![endif]-->
    <style>
    <!--
    /* Font Definitions */
    @font-face
         {font-family:Verdana;
         panose-1:2 11 6 4 3 5 4 4 2 4;
         mso-font-charset:0;
         mso-generic-font-family:swiss;
         mso-font-pitch:variable;
         mso-font-signature:536871559 0 0 0 415 0;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
         {mso-style-parent:"";
         margin:0in;
         margin-bottom:.0001pt;
         mso-pagination:widow-orphan;
         font-size:12.0pt;
         font-family:"Times New Roman";
         mso-fareast-font-family:"Times New Roman";
         color:black;}
    a:link, span.MsoHyperlink
         {color:blue;
         text-decoration:underline;
         text-underline:single;}
    a:visited, span.MsoHyperlinkFollowed
         {color:blue;
         text-decoration:underline;
         text-underline:single;}
    @page Section1
         {size:8.5in 11.0in;
         margin:1.0in 1.25in 1.0in 1.25in;
         mso-header-margin:.5in;
         mso-footer-margin:.5in;
         mso-paper-source:0;}
    div.Section1
         {page:Section1;}
    /* List Definitions */
    @list l0
         {mso-list-id:1671522707;
         mso-list-type:hybrid;
         mso-list-template-ids:173077734 -1217256714 -1762734104 -1820561022 223512234 -1498092540 -253197138 -1503254310 -1644162396 -2077876560;}
    @list l0:level1
         {mso-level-number-format:bullet;
         mso-level-text:\F0B7;
         mso-level-tab-stop:.5in;
         mso-level-number-position:left;
         text-indent:-.25in;
         mso-ansi-font-size:10.0pt;
         font-family:Symbol;}
    @list l1
         {mso-list-id:1706909113;
         mso-list-type:hybrid;
         mso-list-template-ids:-1244391706 -178735898 -2037087144 -1764829932 -501428334 -1957922170 -877602540 2125899716 -1534562732 181023898;}
    @list l1:level1
         {mso-level-number-format:bullet;
         mso-level-text:\F0B7;
         mso-level-tab-stop:.5in;
         mso-level-number-position:left;
         text-indent:-.25in;
         mso-ansi-font-size:10.0pt;
         font-family:Symbol;}
    ol
         {margin-bottom:0in;}
    ul
         {margin-bottom:0in;}
    -->
    </style>
    <!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext="edit" spidmax="1027"/>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext="edit">
    <o:idmap v:ext="edit" data="1"/>
    </o:shapelayout></xml><![endif]-->
    </head>
    <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
    <div class=Section1>
    <div align=center>
    <table border=0 cellspacing=1 cellpadding=0 width=100 bgcolor="#003399"
    style='width:75.0pt;mso-cellspacing:.7pt;background:#003399;mso-padding-alt:
    0in 0in 0in 0in'>
    <tr>
    <td style='background:white;padding:0in 0in 0in 0in'>
    <div align=center>
    <table border=0 cellspacing=0 cellpadding=0 width=549 style='width:411.75pt;
    mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr style='height:1.5pt'>
    <td style='padding:0in 0in 0in 0in;height:1.5pt'>
    <p class=MsoNormal align=right style='text-align:right;mso-line-height-alt:
    1.5pt'><img width=247 height=36 id="_x0000_i1025" src="images\fsl.jpg"></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td style='background:#C6EAFD;padding:0in 0in 0in 0in;height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><img width=600
    height=202 id="_x0000_i1026" src="images\banner1.jpg"></p>
    </td>
    </tr>
    <tr>
    <td style='background:#C6EAFD;padding:0in 0in 0in 0in'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
    mso-cellspacing:0in;mso-padding-alt:1.5pt 1.5pt 1.5pt 1.5pt'>
    <tr style='height:1.5pt'>
    <td width="38%" style='width:38.0%;padding:1.5pt 1.5pt 1.5pt 1.5pt;
    height:1.5pt'>
    <p class=MsoNormal><![if !supportEmptyParas]> <![endif]><span
    style='font-size:2.0pt;mso-bidi-font-size:12.0pt'><o:p></o:p></span></p>
    </td>
    <td width="62%" style='width:62.0%;padding:1.5pt 1.5pt 1.5pt 1.5pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><b><span
    style='font-size:10.0pt;font-family:Verdana;color:#FF6600'></span></b></p>
    </td>
    </tr>
    <tr>
    <td colspan=2 style='padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr>
    <td width="27%" style='width:27.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal> </p>
    </td>
    <td width="73%" style='width:73.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana;
    color:#FF6600'></span></b></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    <tr>
    <td colspan=2 style='padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr>
    <td width="15%" style='width:15.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal> </p>
    </td>
    <td width="85%" style='width:85.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana;
    color:#FF6600'></span></b></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:21.0pt'>
    <td style='background:white;padding:0in 0in 0in 0in;height:21.0pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-family:Verdana;mso-bidi-font-family:Arial'></span></b></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td valign=top style='background:white;padding:0in 0in 0in 0in;height:1.5pt'>
    <div align=center>
    <table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
    mso-cellspacing:0in;mso-padding-alt:3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1027" src="images\1.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <span
    style='font-size:13.5pt;font-family:Arial;color:#33CCCC'>ERP</span><b><span
    style='font-family:Arial;color:#33CCCC'> </span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana'>E</span></b><span style='font-size:7.5pt;
    font-family:Verdana'>nterprise <b>R</b>esource <b>P</b>lanning An ERP system supports the planning of the utilization of the enterprises resources, primarily production, distribution and servicing resources, i.e. inventory, production capacity, logistics capacity, employee work hours, etc.<o:p></o:p></span></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'><br>
    The system works in the modular form and provides complete solution for a small to a large enterprise thus caters to their diverse needs from a simple to complex resource planning and management solution.</span></p>
    </td>
    </tr>
    <tr>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1028" src="images\2.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline </span></i> <span
    style='font-size:13.5pt;font-family:Arial;color:#33CCCC'>e-Showroom</span><b><span
    style='font-family:Arial;color:#33CCCC'> </span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><i><span style='font-size:
    7.5pt;font-family:Verdana'>frontline </span></i><b><span
    style='font-size:7.5pt;font-family:Verdana'></span></b><span
    style='font-size:7.5pt;font-family:Verdana'> has conceptualized, designed and developed B2B and B2C Portals. The portal provides business rules based shopping for bulk consumers, dealers, corporates & customers. Satellite shops could be setup from the portal that could sell selected / all products from the online shopping mall.
    </span></p>
    </td>
    </tr>
    <tr style='height:12.0pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1029" src="images\3.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <b><span
    style='font-family:Arial;color:#33CCCC'>SFA</span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana;mso-bidi-font-family:Arial;color:#999999'><o:p></o:p></span></b></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'>A Sales Force Automation System
    To organize, manage and improve sales call tracking - helps you SELL more. The most powerful sales force automation system - Automates your company�s sales efforts enabling sales people across the entire sales cycle with contact management, email, fax, SMS and task scheduling.
    frontline SFA helps to make the sales pipeline completely transparent, enabling sales teams to track every lead and follow each deal throughout the sales cycle. It enables the Organization to standardize the sales process and to view, manage and control all the activities & information on a real time basis. <o:p></o:p></span></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'><br>
    </span></p>
    </td>
    </tr>
    <tr>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:63.0pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1042" src="images\4.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <b><span
    style='font-family:Arial;color:#33CCCC'>CMS </span></b><o:p></o:p></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana;color:#999999'>An Email marketing tool...
    <o:p></o:p></span></b></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'>frontline CMS facilitates bulk e - mailing, bulk SMS and bulk mailing and is a very easy operable tool for marketing. It is a very strong web based application having user-friendly interface enabling user to reach thousand of his contacts round the globe through email and SMS just on one click. </span><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'>  </p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <table border=0 cellspacing=1 cellpadding=0 width="100%" bgcolor="#006699"
    style='width:100.0%;mso-cellspacing:.7pt;background:#006699;mso-padding-alt:
    3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr>
    <td style='background:white;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr style='height:1.5pt'>
    <td colspan=2 valign=bottom style='padding:0in 0in 0in 0in;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><b><span
    style='font-size:10.0pt;font-family:Verdana;color:#000099'>To know
    more about the multi-fold Path rewards:</span></b></p>
    </td>
    </tr>
    <tr style='height:48.0pt'>
    <td width="54%" style='width:54.0%;padding:0in 0in 0in 0in;
    height:48.0pt'>
    <ul type=disc>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>Call Frontline at
    91.11.2921.2331/2</span></li>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>E-mail: <a
    href="mailto:[email protected]">[email protected]</a></span></li>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>Visit us at: <a
    href="http://www.fsltechnologies.com" target="_blank">www.fsltechnologies.com
    </a></span></li>
    </ul>
    </td>
    <td width="46%" style='width:46.0%;padding:0in 0in 0in 0in;
    height:48.0pt'>
    <ul type=disc>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l1 level1 lfo6;tab-stops:list .5in'><b><span
    style='font-size:10.0pt;font-family:Verdana'>Contact us at</span></b><span
    style='font-size:10.0pt;font-family:Verdana'><br>
    M-6, M Block Market,<br>
    Greater Kailash - II<br>
    New Delhi - 110048, India</span></li>
    </ul>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><a
    href="www.fsltechnologies.com" target="_blank"><span style='text-decoration:
    none;text-underline:none'><img border=0 width=250 height=60
    id="_x0000_i1043" src="images\logo.gif"></span></a></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <table border=0 cellspacing=1 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:.7pt;mso-padding-alt:3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr>
    <td style='padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    10.0pt;font-family:Verdana'>FSL Software Technologies Ltd an ISO
    9001:2000 certified company and a leading software solutions provider,
    we realize that in today's competitive environment, business must keep
    pace with the speed of thought. And we believe that your ideas and
    enterprises deserve substantial reinvention. We address the changing
    needs of your business with solutions that are cost-effective, fast to
    deploy, highly scalable and reliable</span></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal align=center style='text-align:center;mso-line-height-alt:
    1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal><span style='color:windowtext'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    </div>
    </body>
    </html>
    How i do that
    Regards
    Shambhu

    The functionality that you require is not available to VBA/COM - it is only exposed via C/C++.
    However, you could retrieve the ENTIRE page image to the clipboard and then use whatever VB/VBA methods you choose to grab a section of the image.
    Of course, this all assumes that Adobe Acrobat is installed on each person's computer that will be using the solution since Reader does not have the necessary APIs and Acrobat can't be installed on a server.

  • Cannot open ddms.bat on android sdk because Java is not in my path

    I'm trying to open the ddms.bat (Dalvik Debug Monitor) but it won't let me because Java is not in my path.
    Some things you should know: 1. I barely know what I'm talking about so please walk me through any advice you give me, I'm brand new to all of this. 2. I'm only trying to get ddms.bat to open because I want to take android screenshots without rooting my Nexus One. 3. I'm using a laptop PC with Windows 7 64 bit. 4. Following directions from some site, I moved the entire Java file from C:\Program Files to C:\Program Files (x86)
    I've downloaded jre, jdk, and eclipse. For some reason eclipse wont open, its giving me some error about could not open C:\Program Files\Java\jre\lib\amd64\jvm.cfg
    Using a website that I googled, I was able to put C:\Program Files (x86)\Java\jre1.6.0_21\jre\bin into the PATH but I don't know if I did the user variable correctly because the website told me to enter "classpath" as the variable and "." as the value.
    Main Questions:
    1. How do I put Java in my path?
    2. How can I get the Eclipse application to open?
    3. Should I move Java back to C:\Progam Files rather than keeping it C:\Progam Files (x86)
    4. In order to get ddms.bat to open do I need jre, jdk, and eclipse or can I do with only one or two of them? And if so which ones do I need?
    EDIT: I've moved the Java folder back to C:\Program Files and then tried to open ddms.bat and now cmd is giving the error that java.lang.UnsatisfiedError: Cannot load 32-bit SWT libraries on 64 bit JVM
    What does that mean, and how can I fix it?
    Also I've managed to get eclipse to open.
    EDIT2: Got it to work somehow, that was really complicated but I'm just happy I got it. Heres the imgur link : imgur.com/ucBpY.png
    Edited by: TaeKwonDonkey on Jul 30, 2010 9:04 PM
    Edited by: TaeKwonDonkey on Jul 30, 2010 9:42 PM
    Edited by: TaeKwonDonkey on Jul 30, 2010 9:43 PM

    TaeKwonDonkey wrote:
    I'm trying to open the ddms.bat (Dalvik Debug Monitor) but it won't let me because Java is not in my path.
    Some things you should know: 1. I barely know what I'm talking about so please walk me through any advice you give me, I'm brand new to all of this.You might want to try familiarizing yourself with basic Java before using it to run a debugger of Java (or near-Java) code. Multiple layers of roughly the same thing can be hard to grok.
    4. Following directions from some site, I moved the entire Java file from C:\Program Files to C:\Program Files (x86)What do you mean by that? "entire Java file" doesn't really make sense.
    I've downloaded jre, jdk, and eclipse. For some reason eclipse wont open, its giving me some error about could not open C:\Program Files\Java\jre\lib\amd64\jvm.cfgWell if it's looking for Java under that path, but you moved it to a different directory, that means it won't be able to find Java.
    Using a website that I googled, I was able to put C:\Program Files (x86)\Java\jre1.6.0_21\jre\bin into the PATH but I don't know if I did the user variable correctly because the website told me to enter "classpath" as the variable and "." as the value. CLASSPATH and PATH are two entirely different things.
    Main Questions:
    1. How do I put Java in my path?You choose a sane standard place to put it there. Set the PATH environment variable to point to the bin/ subdirectory under your Java directory.
    2. How can I get the Eclipse application to open?Don't even use Eclipse yet. It's just adding more layers, and that makes each layer harder to learn.
    Also, I've come to feel that Eclipse is usually more trouble than it's worth.
    3. Should I move Java back to C:\Progam Files rather than keeping it C:\Progam Files (x86)Probably. Why did you do that?
    4. In order to get ddms.bat to open do I need jre, jdk, and eclipse or can I do with only one or two of them? And if so which ones do I need?You probably just need the JRE (unless ddms.bat compiles things for some reason) but if you're planning to do any Java programming, you might as well install the JDK (it includes the JRE too).
    EDIT2: Got it to work somehow, that was really complicated but I'm just happy I got it. Heres the imgur link : imgur.com/ucBpY.pngRegardless, I advise you to skip Eclipse. You want to learn how this thing works, not how to click on things.

  • XMP Java Set and Get Question

    I am investigating the potential to set and read XMP metadata on TIFF, PDF, and EPS files for a workflow.
    I am a Perl/Java person, and upon investigating solutions found the Java XMP Parser. As I read, it appears that I need to create a RDF file. It looks to me that the RDF file is the file that contains the metadata to be inserted. Is there a specification for the RDF?
    Also, the SW (java class) says it can only embed into files which have the XML packet already. Any insight here.
    In summary, I own the Adobe Graphics Server (Not Document Server), and before pursuing the above ... I welcome validation that I am on the correct path.

    S_Szenthilkumar wrote:
    Actually my requirement is like that.What do you mean by "like that".
    What is your requirement?
    Is it possible to do this or can not perform this operation?Define "this operation".
    It might be that you actually want to use the [Preferences API|http://java.sun.com/javase/6/docs/api/java/util/prefs/Preferences.html] for storing settings. But it's hard to tell what you actually want, since you didn't describe your goal, but only a possible solution.

  • [svn:bz-trunk] 10059: update two package-info.java files, and add one new one.

    Revision: 10059
    Author:   [email protected]
    Date:     2009-09-08 11:31:48 -0700 (Tue, 08 Sep 2009)
    Log Message:
    update two package-info.java files, and add one new one.
    Modified Paths:
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/package-info.java
    Added Paths:
        blazeds/trunk/modules/core/src/flex/messaging/util/concurrent/package-info.java
        blazeds/trunk/modules/core/src/flex/messaging/validators/package-info.java

    Revision: 10059
    Author:   [email protected]
    Date:     2009-09-08 11:31:48 -0700 (Tue, 08 Sep 2009)
    Log Message:
    update two package-info.java files, and add one new one.
    Modified Paths:
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/package-info.java
    Added Paths:
        blazeds/trunk/modules/core/src/flex/messaging/util/concurrent/package-info.java
        blazeds/trunk/modules/core/src/flex/messaging/validators/package-info.java

  • Differnet Charting behaviour between Java 7 and Java 8

    Hi I've developed an application with charts in Java FX and Java 7. Everything works fine, but now I've tested it with Java 8. There I can see, that something must have changed in the way a chart wil be painted.
    The following code will describe the problem. Execute it with Java 7 and Java 8 and you will see what I mean.
    package linechartsample;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.chart.AreaChart;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.stage.Stage;
    public class LineChartSample extends Application {
    @Override
    public void start(Stage stage) {
    stage.setTitle("Line Chart Sample");
    final NumberAxis xAxis = new NumberAxis();
    final NumberAxis yAxis = new NumberAxis();
    xAxis.setLabel("Month");
    final LineChart<Number, Number> lineChart = new LineChart<Number, Number>(
    xAxis, yAxis);
    lineChart.setTitle("Stock Monitoring");
    lineChart.setCreateSymbols(false);
    XYChart.Series series1 = new XYChart.Series();
    series1.setName("Portfolio 1");
    series1.getData().add(new AreaChart.Data(1, 10));
    series1.getData().add(new AreaChart.Data(2, 20));
    series1.getData().add(new AreaChart.Data(3, 10));
    series1.getData().add(new AreaChart.Data(2, 5));
    series1.getData().add(new AreaChart.Data(1, 10));
    Scene scene = new Scene(lineChart, 800, 600);
    lineChart.getData().addAll(series1);
    StringBuilder builder = new StringBuilder();
    // builder.append("-fx-stroke: ");
    // builder.append("#");
    // builder.append(Integer.toHexString(115));
    // builder.append(Integer.toHexString(115));
    // builder.append(Integer.toHexString(115));
    // builder.append(Integer.toHexString(100));
    builder.append("-fx-fill: ");
    builder.append("#");
    builder.append(Integer.toHexString(215));
    builder.append(Integer.toHexString(115));
    builder.append(Integer.toHexString(115));
    builder.append(Integer.toHexString(100));
    series1.getNode().setStyle(builder.toString());
    stage.setScene(scene);
    stage.show();
    public static void main(String[] args) {
    launch(args);
    What happens here in Java 8???
    Additionally I've tried to draw a simple AreaChart with a series of negative values. In Java 7 the area between the line and the X-Axis will be filled. In java 8 the area between the line and the bottom of the chart will be filled. Are there any new properties which have to set to draw it in the correct way? I've checked it with the stackedAreaChart. Here everything is fin in Java7 and Java8.
    Can somebody explain me that change in the behaviour of the charts in JavaFX 8?? Or is this a Bug??
    Kind regards

    Your code is really weird. 
    Applying a fill to the line path in a line chart is a strange thing to do.  Usually a line chart is for drawing lines not filled areas.  For filled areas, JavaFX has an AreaChart.
    Setting multiple y values for a given x value in a series is also a very strange thing to do.  Usually for a LineChart plot, the x values in the series are unique.
    I haven't tried your code on Java 7 as I don't have Java 7 installed and your code doesn't really seem like a valid test case to me anyway.  That your code got you a result you wanted in Java 7 would be more a fluke than anything else, I would guess.
    For your area chart question, please ask that as a separate question with reproducible source code and test case.
    If you really think there are bugs or regressions in JavaFX, then report them in the bug tracker after running your tests on the latest development JDK at: https://jdk8.java.net/download.html

  • I need suggestion about copy and paste the path....?

    Hi Everyone!
              This is Vijay and I need one  suggestion, Actualy I moved Photoshop path between two files. If I Copy and paste the path(Using Java Script) then the path size will be reduced. otherwise I Copy and Paste the path(Manualy) to other file that size only maintain. Any one tell Why The Path Size would be Reduce,using Script? Thanks in Advance.!
    Regards
    - yajiv

    It would appear that the path is scaled in relation to the width … I don’t know why.
    And are You sure You want to transfer only from the second path on?
    What does »Do need ful.!« mean?
    You could try this, it collects the PathPoints-data and may actually be unnecessarily complicated.
    var docRef = app.activeDocument;
    var PathCount = activeDocument.pathItems.length;
    var PathList = new Array( );
    for (var i = 0; i < PathCount; i++) {
    PathList[i] = activeDocument.pathItems[i].name;
    DuPath(PathList[i]);
    function DuPath(pname){
    var thePathArray = getPathInfo(app.activeDocument.pathItems[pname]);
    var id200 = charIDToTypeID( "copy" );
    executeAction( id200, undefined, DialogModes.NO );
    var id201 = charIDToTypeID( "slct" );
    var desc57 = new ActionDescriptor();
    var id202 = charIDToTypeID( "null" );
    var ref56 = new ActionReference();
    var id203 = charIDToTypeID( "Dcmn" );
    ref56.putOffset( id203, 1 );
    desc57.putReference( id202, ref56 );
    executeAction( id201, desc57, DialogModes.NO );
    var newPath = app.activeDocument.pathItems.add(pname, thePathArray)
    var id205 = charIDToTypeID( "Dslc" );
    var desc58 = new ActionDescriptor();
    var id206 = charIDToTypeID( "null" );
    var ref57 = new ActionReference();
    var id207 = charIDToTypeID( "Path" );
    ref57.putClass( id207 );
    desc58.putReference( id206, ref57 );
    executeAction( id205, desc58, DialogModes.NO );
    var id208 = charIDToTypeID( "slct" );
    var desc59 = new ActionDescriptor();
    var id209 = charIDToTypeID( "null" );
    var ref58 = new ActionReference();
    var id210 = charIDToTypeID( "Dcmn" );
    ref58.putOffset( id210, -1 );
    desc59.putReference( id209, ref58 );
    executeAction( id208, desc59, DialogModes.NO );
    ////// get path-array //////
    function getPathInfo (thePath) {
    var lineSubPathArray = new Array ();
    for (var a = 0; a < thePath.subPathItems.length; a++) {
    var lineArray = new Array ();
    for (var b = 0; b < thePath.subPathItems[a].pathPoints.length; b++) {
    var aPoint = thePath.subPathItems[a].pathPoints[b];
    lineArray[b] = new PathPointInfo;
    lineArray[b].kind = aPoint.kind;
    lineArray[b].anchor = aPoint.anchor;
    lineArray[b].leftDirection = aPoint.leftDirection;
    lineArray[b].rightDirection = aPoint.rightDirection;
    lineSubPathArray[a] = new SubPathInfo();
    lineSubPathArray[a].operation = ShapeOperation.SHAPEXOR;
    lineSubPathArray[a].closed = thePath.subPathItems[a].closed;
    lineSubPathArray[a].entireSubPath = lineArray;
    return lineSubPathArray

  • First use of jsp and java bean and "Unable to compile class for JSP" error

    Hi,
    I am trying to create my first jsp + java bean and I get a basic error (but I have no clue what it depends on exactly). Tomcat seems to cannot find my class file in the path. Maybe it is because I did not create a web.xml file. Did I forgot to put a line in my jsp file to import my bean?
    Thank you very much for your help.
    Here is my error:
    An error occurred at line: 2 in the jsp file: /login.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    /usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/test/org/apache/jsp/login_jsp.java:43: cannot resolve symbol
    symbol : class CMBConnect
    location: class org.apache.jsp.login_jsp
    CMBConnect test = null;
    I only have this in my directory:
    test/login.jsp
    test/WEB-INF/classes/CMBConnect.java
    test/WEB-INF/classes/CMBConnect.class
    Do I need to declare another directory in classes to put my class file in it and package my bean differently?
    Here is my login.jsp:
    <%@ page errorPage="error.jsp" %>
    <jsp:useBean id="test" type="CMBConnect" scope="session" />
    <html>
    <head>
    <title>my test</title>
    </head>
    <body>
    <h3>Login information</h3>
    <b><%=session.getValue("customerinfo.message")%></b>
    <form> ....... </form>
    </body>
    </html>
    and here is my CMBConnect.java:
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class CMBConnect
    public CMBConnect () { }
    public String openConnection(String id, String password) {
    String returnText = "";
    try {
    Connection con = null;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection("jdbc:oracle:thin:@myserver.abc.com:1521:TEST", id, password);
    if(con.isClosed())
    returnText = "Cannot connect to Oracle server using TCP/IP...";
    else
    returnText = "Connection successful";
    } catch (Exception e) { returnText = returnText + e; }
    return returnText;
    Thanks again!

    Thanks for you help
    I created the package and I get this error this time:
    javax.servlet.ServletException: bean test not found within scope
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:822)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:755)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:68)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:277)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:223)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

  • Configuration of java extensions and applets

    Hi,
    I'm running IIS5.1/CFMX7.0.1 and once again have difficulty
    configuring my extensions/applets:
    - extension: cfx_pdf (easel.com)
    - self-written richtexteditor applet (swing/jdk1.4) with
    retrieval function
    After some trouble both have been running on 6.1.
    Now I'm upgrading to CFMX 7.0.1, set the class paths and
    added both extensions but Java doesn't seem to get the job done.
    1. It can't locate the cfx_pdf jar class
    2. It is not retrieving the text from the richtexteditor
    after a post
    Is there any way to verify my settings besides the
    webconfiguration tool?
    Does CF have an alternative way to configure my extensions?
    Each time I configure CF( 6.1 & 7.0) extensions (both C++/Java)
    on some server (XP/MS2003 & IIS5.1/6.0) I run in to these
    problems...
    Cold Fusion is really getting on my nerves with this
    issue...

    PimDor,
    This should not be too hard to figure out. First, click on
    the system information link in cfadmin. Check the classpath and
    make sure your jar file is there for each cfx. Next, unzip the jar
    file using winzip or similar. Just view the main classname and note
    its capitalization. Java is case sensitive so when you enter the
    java cfx classname it must be spelled correctly. Also, if it is
    part of a package you must enter that using dot notation. So, if I
    have a CFX_ken that uses Kenco.class in package com.adobe.ken I
    enter the classname in cfadmin as: com.adobe.ken.Kenco . Note the
    capital K in Kenco. If this package were in ken.jar, I should be
    able to find ken.jar listed in the classpath on the sysinfo page.
    Finally, as a test you should be able to do a cfobject/java
    call and dump the class to confirm the class is available. So
    following the above example see the attached code. The cfdump
    should show the methods of your cfx class.

  • What does Java do and is it necessary?

    I'm looking for a little education here.  A How To article on disabling Java in the recent Mac Life indicates Java can be an malware vector to OS X.  I am looking for a brief understanding of what Java is and what it does, and more importantly is it really necessary to be enabled?  I understand it is an interpretive programming language that runs graphics on websites.  Is that all it is/does?  Where does java Script fit in?  Lastly, by disabling it on my Mac and in my browsers, will websites just not work?
    BTW, I use Intego's anti-malware suite. 
    Thank you

    I'm looking for a little education here.  A How To article on disabling Java in the recent Mac Life indicates Java can be an malware vector to OS X.  I am looking for a brief understanding of what Java is and what it does, and more importantly is it really necessary to be enabled?
    1st, if you have installed all the latest Mac OS X Lion (or Snow Leopard, or Leopard) updates, the known Java flaw has been fixed.  If you have not applied all the updates, you should do it as soon as possible.
    You can disable it, either just in your browser or entirelly if you like.  If something doesn't run, it will ask for Java to be installed and you will know that you might need it for that 3rd party application.
    The Flashback malware gained access via the web browser Java plug-in, so just disabling that is also good enough, but also redundent if you have applied all the latest Mac OS X updates.
    I understand it is an interpretive programming language that runs graphics on websites. Is that all it is/does?
    Java is a complete programming environment developed by Sun Microsystems (Sun is now owned by Oracle).
    It is commonly used to write applications that run on multiple platforms with little or no changes.  This is why it is popular as most Java developers do not need to worry if the system is Mac, Windows, Unix, etc...  It is also used in some Smart Phones, Set Top TV boxes, dedicated black box electronics, etc...
    On the Mac some (but not very many) web sites use Java for complex web site interactions, such as a game you run from a web site.  However, this is very rare and you are unlikely to run into one of these web sites, so disabling your browser's Java plug-in is generally not a problem.
    Where does java Script fit in?
    JavaScript is a totally different language and programming environment that was created about the time Java was the "Cool Kid" in town, so the JavaScript developers stole the name.  They are not really related.
    One of the reasons very few web sites depend on Java is because they can do most of what they need via straight HTML or HTML and JavaScript.
    So you DO WANT JavaScript enabled, or that will impact your web browsing experience.
    Lastly, by disabling it on my Mac and in my browsers, will websites just not work?
    Again, few web sites use Java, so disabling the Java plug-in within your browser's preferences is generally an OK thing to do.
    However, you may have some applications written in Java that you use on yoru Mac where disabling Java via the Applications -> Utilities -> Java Preferences may (or may not) affect running some apps on your Mac.  For example, if you use CrashPlan (backup utility) it is written in Java.
    But so far, Java based applications have not been a malware problem.  Only the Java browser plug-in.

  • Java RTS 2.1 General Availability free evaluation releases available

    Hi:
    I would like to notify this forum that free evaluation releases of
    Java Real-Time System (Java RTS) 2.1 General Availability (GA)
    are available for download for the following platforms:
    * Solaris 10 (Update 4 and Update 5) on SPARC and x86
    * Linux with real-time POSIX APIs on x86. The specific Linux
    distributions which this release has been tested on (at the time
    of this writing) are: SUSE Linux Enterprise Real Time 10 SP2
    (released) and Red Hat Enterprise MRG 1.0 Errata (to be released).
    The URL for the web page where to start in order to be able to
    get to the download link for any of the Java RTS 2.1 GA evals is:
    [http://java.sun.com/javase/technologies/realtime/rts/]
    You will be asked to fill out a quick survey and agree to a click-
    through e-license, then a download link will be e-mailed to you.
    The latest version of the Java RTS 2.1 GA technical documentation
    bundle included with the product is being separately maintained at
    our product website and can be accessed starting from here:
    [http://java.sun.com/javase/technologies/realtime/reference/rts_productdoc.html]
    Please also make sure to check out our updated FAQ:
    [http://java.sun.com/javase/technologies/realtime/faq.jsp]
    Thanks,
    -Carlos
    Carlos B. Lucasius
    Java SE Embedded and Real-Time Engineering
    Sun Microsystems, Inc.
    [http://sites.google.com/site/javartsandjavaseforembedded/]

    Hello,
    Just a quick question: can we have an official position from Sun regarding support of earlier releases of Solaris with Java RTS 2.1? Our customer is currently running Solaris 10 Update 3 with current Recommended patches, and the 2.1 beta cyclic driver supported this version of Solaris. However with the official release version of 2.1, support for U3 disappeared (only U4 and U5 are now supported). Aside from "rubber stamping" the Solaris build via /etc/release, is there a technical reason why U3 is no longer supported? As long as our kernel is up to date, can we safely use 2.1? Or is it just a case of being unable to officially support and test so many releases of Solaris?
    Is this a general rule-of-thumb we can expect in future: only supporting the last 2 updates of Solaris 10?
    Your advice is appreciated.
    Thanks,
    Dave.

  • Issue with ENEQuery java api and searching terms with accented characters

    Hi,
    we are using ENEQuery to query the mdex engine. When search terms contain accented characters (like á,í etc), even though the terms are decoded (using java.net.URLDecoder), the term gets send to dgraph is encoded. for e.g a search for "sofá", from the dgraph logs "sof%c3%a1" and fetch in 0 results
    ENEQuery query = new ENEQuery();
    final ERecSearchList searches = new ERecSearchList();
    final ERecSearch eRecSearch = new ERecSearch("search interface name", "term");
    searches.add(eRecSearch);
    query.setNavERecSearches(searches);
    Any suggestions?
    Thanks

    Hi,
    Does your indexed data (which you hope to match) contain "sofá" or "sofa" (no diacritic)? If the latter, and in-general, you may benefit from the dgidx flag --diacritic-folding* as described in documentation "Mapping accented characters to unaccented characters".  If you are running the latest version, this is all that should be required to generate a match.
    Best
    Brett

  • Java compile and run time questions

    Hello, I have two generic question about java compile and run:
    1. When I used javac to compile my project, it complained some classes can't be found. I added the jar file which contains these needed classes to the jre/lib/ext/ directory. The compiler no longer complains. But I'm confused. I thought the jar files in jre/lib/ext/ only used for java run time, not the compile time. Can someone help me to explain this?
    2. If I need certain user defined jar file in the classpath to compile my application, does that imply that I have to have that jar file if I want to run my project?
    Thanks in advance.

    1. lib/ext is used for generally finding classes, it doesn't matter whether you are compiling or running.
    2. Yes, you will.

Maybe you are looking for