Questiona bout JavaScritp?

Sorry to ask, in the Java forum.
I just wondered if anyone knew if JavaScript can be interpreted in the following formats, in an applet, or .jar file? Or just in html and .js files.
Thanks

well, when Java 6 comes out with a Javascript engine build in and you find that you can do funky things like define a UI with buttons in Swing and then define the action listener code as Javascript (or whatever other script language script engines are built for it), you will say "man, I can do some funky things with this".

Similar Messages

  • Few Questions 'bout Printing in Lab Color

    I'm a little confused about how LAB color works. I have a document thats currently in CYMK color mode, and I'm having difficulty finding satisfactory colors. I was advised elsewhere to abandon CYMK. I therefore want to convert my image into to LAB color mode. I've read that converting from one color mode to another can cause layers to look funny, however I need to retain some of my layers... Do you guys typically have problems with this? In retrospect I should have STARTED in Lab... Seems that converting from CYMK to LAB wouldn't be as problematic as converting from LAB to CYMK...
    The key question is this: will my printer (Epson R800) even be able to print in LAB mode? I thought yes, or at least closely... because it has much more than CYMK to work with... it has these cartridges:
    #1 Blue UltraChrome Hi-Gloss Ink Cartridge T054920
    #2 Cyan UltraChrome Hi-Gloss Ink Cartridge T054220
    #3 Gloss Optimizer UltraChrome Hi-Gloss Cartridge T054020
    #4 Magenta UltraChrome Hi-Gloss Ink Cartridge T054320
    #5 Matte Black UltraChrome Hi-Gloss Ink Cartridge T054820
    #6 Photo Black UltraChrome Hi-Gloss Ink Cartridge T054120
    #7 Red UltraChrome Hi-Gloss Ink Cartridge T054720
    #8 Yellow UltraChrome Hi-Gloss Ink Cartridge
    Finally, in the print screen menu should I be
    "letting photoshop manage colors" or letting "printer manage colors"? Do you guys have any other tips on how to tweak printer/photoshop settings/preferences to maximize the accuracy of my colors? Would I possibly be better off just using RGB?
    I know my questions are conveyed in a slightly confusing manner, so thank you for your patience reading through them. I really appreciate any insight you guys can give me.
    Thanks,
    Rich

    You can't actually print in Lab mode, although it can be great for certain corrective moves. You have to print in either RGB or CMYK. If you are using the Epson driver for your printer, the print is seen as if it were an RGB device, even though it uses CcMmY and black inks.
    To get better color accuracy, you need both a hardware calibrated monitor - so you know that what you see is accurate - and good custom printer profiles, so that the colors are properly converted to the color space of the printer. There is a lot of information both in these Adobe forums and on the web in general about color management and the proper use of profiles, and how to go about it.

  • Automatic Payment Transaction (F110) - questions bout Paymnt Doc generated

    Hi all,
    I have a question regarding to payment documents generated by Automatic Payment Transaction (tcode F110).
    After a payment run, some payments are created. But I found that same payment documents are generated over several payment runs for same vendors. And those payments pay for the same invoices.
    For example
    Run date   ____________     ID    ______     Vendor ______  Payment
    Jan 01, 2009  ______  ID001  ______  V0001  ______   P1
    Jan 15, 2009  ______  ID002  ______  V0001  ______   P1
    Jan 15, 2009  ______  ID003  ______  V0001  ______   P1
    Payment P1 pays for Invoices I1, I2, I3.
    It looks like the data is repeated.
    When I check tables, REGUH, there are 3 entries and 9 entries in REGUP (1 payment - 3 invoices => 9 records). It also is updated in BKPF and BSEG as well.
    The question is: how can I identify  which Payment Run (date, id) the payment document belongs to?
    I don't understand because i think SAP automatically generates document number, and it cannot be the same for every run.
    Please guys, help explain it for me.How does it work in this way?
    Thanks in advance

    Hello
    In this process, you will complete a payment transaction automatically.
    You should first enter some vendor invoices so that there are enough due payables available in the system. In order to reduce the work you need to do, we have created a CATT (Computer Aided Test Tool) that generates invoices automatically when activated.
    Secondly, you will create a payment program and enter the parameters necessary for selecting the items to be paid.
    Next, you will execute a payment proposal list and check its log. You will find that some items are blocked for payment. You will need to update the list in order to remove the block.
    Later, you will start an actual run. Then you will set the print program so that the payment forms and accompanying payment advice notes and payment summaries are correctly assigned to the payment run. Finally, you will print the payment forms. If you are using North American data, you will then need to analyze the check register.
    Check the link for detailed procedures
    Reg
    Suresh

  • Question bout the setup of my vid card

    ok in the bios it says my agp aperture size is 64mb now thats the same mb as my 5200
    my question is Do i have to increase that to 128mb to get the full performance of my new video card (geforce fx5900xt 128mb)??

    I agree, 128 MB for the Graphics Aperture Size!
    The H2O Guru
    If You Build The Circuit, The Electrons Will Come!
    Enermax  550 v1.2 EG651P-VE PSU
    +3.3V=36A / +5V=36A / +12V=36A
    +5V & +3.3v = 200Watts
    nVidia MB Chipset Drivers v3.13
    nVidia VGA Drivers v56.64

  • A few questions bout EBS and SAP

    Can anyone please clarify what's the diff in SAP and EBS.
    Can i get EBS for free (learning purposes)
    In SAP ABAP is used for programming purposes. what is equivalent in EBS to that.?
    Regards
    Khurana

    Hi Khurana,
    Following are my understanding and only my personal view.
    1. Can anyone please clarify what's the diff in SAP and EBS.
    SAP and EBS are ERP solutions as you know, business wise its just a comfort factor which makes customer to choose either SAP or Oracle. To be straight SAP doesnt allow you to do customizations as it can be done in Oracle, this is what makes SAP tightly integrated less error prone. Both use their own way of programming which is the answer for your second question below. SAP has its own standards and Oracle too has its legacy. For techincal details you can refer to the following link,
    http://oreilly.com/catalog/sapadm/chapter/ch01.html
    2. In SAP ABAP is used for programming purposes. what is equivalent in EBS to that.?
    ABAP is a programing language created by SAP and it is similar to any other programming language. Its quite similar to COBOL. This was first used as a reporting purpose by SAP and later used extensively for application programing.
    For me equivalent for ABAP is PL/SQL in EBS or if i need to compare with reporting or form tool in EBS then it would be D2k.
    mYth

  • Questions 'bout setting up auth. for 4 domains: 2 SecurID, 2 PDC

    We have setup a portal with 4 domains. We are currently using one gateway. 2 domains are configured for securID authentication. We'd like to setup the other two domains for authentication using browser certificates. If possible followed by LDAP auth.
    I have the following questions:
    A. We will add a second gateway and configure this one for PDC authentication. Can the portal server handle this (2 domains SecurID, 2 domains PDC), or do we need to configure a second portal instance? Everything is running in secure mode and is communication over SSL. Any tips, pitfalls etc. we should know about (as previous attempts to set this up failed)?
    B. Is it out-of-the-box possible to cascade PDC and LDAP authentication (just like for the other NON-PDC authentication modules) or do we have to build or own authentication module? Again, previous attempts to set this up failed :-)

    A.) You can have multiple domains with multiple types of authentication, however if you enable pdc for a gateway you cannot use any other type of authentication mechanism then.
    For sp3a pdc setup documentation outdated, see my earlier posting ( within the last 1 week) that contains detailed steps to do PDC.
    B.) Yes you can do auth chaining, you enable auth chaining in the authentication and then in the module name you give Ldap.

  • Question bout the new Fios speed that might come.

    So I have the 25/25 connection will I get upgraded to 50/25 for free or will there be a increase in monthly fee if you choose to?

    pappy97 wrote:
    I'm not sure if the responders understand the question posed by the OP.  The OP is asking, when the new tiers go live, will his or her 25/25 automatically become 50/25.
    For example, I'm on 25/25 too.  Supposedly the new tiers go live on Sunday, June 17.  When I wake up on the 17th of June, and do a speed test, will I have 50/25?  Or do I need to call in and get on a new tier/plan/etc?
    Thanks!
    I believe the question is understood, but no one has announced the upgrade terms, if the speeds will change to the new tiers, or what the costs will be. If someone is saying a specific date, then I suspect the terms of the change will be announced prior to that date. But who knows, it could be announced after that date. We are all waiting for that news. I am at 35/35, and it would be nice to wake up at some point and see 75/35, but as I stated, I have not seen any of those terms of service announced at this time. So everyone is guessing right now at what might happen. We just need to wait and see. I would like to know, just like everyone else.

  • Questions bout updates

    Hi, I have a question, I am getting annoyed over my Laptops constant updating. Every second day its telling me to that there are updates and to log in to get them updated, and each update takes at least an hour in a half to two hours, because I Have to click up date at least six times before its fully updated. this is annoying and I really dont see why it needs to update that often. I have never seen a PC update that much or for that long ever. This has just started happening the past two weeks, before that it would update once a week and take up to two hours with six restarts and that was way too much and too long I thought. HELP whats going on with this, and how can I stop it. its ridiculous.  Also....I do not like the they have removed the contact techinical online support chat option in the HP help.

    Hi,
    Sounds like those updates failed elsewhere that why they come back again and again. Now please try:
    (a) Hold down Win key then press Q,
    (b) Type Windows Update in Search box then open Check for updates,
    (c) Please update one at a time to see which one failed
    It's a pain but Windows 8 and 8.1 do not give much information about Update history like Windows 7 or Windows 10. You can change do not use auto update and manually check say once a week or Choose other update options.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Question bout the new clipable shuffle

    i was thinkn of getn one of these,but wanted to know bout the eq side of the shuffle.would i be able to somehow turn the bass up in the songs from itunes.for my current nano i had to get some of them earphones that plug sung into ur ear and the bass is good,but was wondering if i get a shuffle will the bass be as good.cheers

    There's no eq settings on the iPod shuffle, like there is on the iPods that have a display.

  • Some question bout URLConnection anyone can help me

    First Of all, i want to ask something bout URL connection
    1. Is it possible to Modifying some files that i accessed via URLConnection without using CGI files ?
    2. What is the limitation of URLConnection Class
    As far as i know URLConnection Class only providing connection to resources, we can read it directly, but we cannot modify it directly.
    Maybe someone Can help me with these class
    package TKI.FileBuilder;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class GetData extends HttpServlet
    private static final String CONTENT_TYPE = "text/xml; charset=windows-1252";
    private static final String DOC_TYPE;
    public static String getFilename(String Judul)
    { /*Fungsi untuk mengembalikan lokasi file tempat record akan disimpan */
    String Filename= "";
    String opener = Judul.substring(0,1);
    opener = opener.toLowerCase();
    if ((opener.equals("a")) || (opener.equals("b")) || (opener.equals("c")) || (opener.equals("d"))
    || (opener.equals("e")))
    Filename = "http://127.0.0.1:8988/Final_Project-Project1-context-root/Admin/flatfiles/flatfileA-E.txt";
    else if ((opener.equals("f")) || (opener.equals("g")) || (opener.equals("h")) || (opener.equals("i"))
    || (opener.equals("j")))
    Filename = "http://127.0.0.1:8988/Final_Project-Project1-context-root/Admin/flatfiles/flatfileF-J";
    else if ((opener.equals("k")) || (opener.equals("l")) || (opener.equals("m")) || (opener.equals("n"))
    || (opener.equals("o")))
    Filename = "http://127.0.0.1:8988/Final_Project-Project1-context-root/Admin/flatfiles/flatfileK-O";
    else if ((opener.equals("p")) || (opener.equals("q")) || (opener.equals("r")) || (opener.equals("s"))
    || (opener.equals("t")) )
    Filename = "http://127.0.0.1:8988/Final_Project-Project1-context-root/Admin/flatfiles/flatfileP-T";
    else if ((opener.equals("u")) ||(opener.equals("v")) || (opener.equals("w")) || (opener.equals("x")) || (opener.equals("y"))
    || (opener.equals("z")))
    Filename = "http://127.0.0.1:8988/Final_Project-Project1-context-root/Admin/flatfiles/flatfileV-Z";
    return Filename;
    public void saveWritten(String title, String ID, String name, String Abstract, PrintWriter File)
    try
    // save data
    System.out.println("****\n");
    System.out.println(title+"\n");
    System.out.println(name+"\n");
    System.out.println(ID+"\n");
    System.out.println(Abstract+"\n");
    System.out.println("****");
    File.println("****\n");
    File.println(title+"\n");
    File.println(name+"\n");
    File.println(ID+"\n");
    File.println(Abstract+"\n");
    File.println("****");
    }catch(Exception ae)
    ae.printStackTrace();
    public void getFile(String Judul,String nama, String Id, String Abstract, HttpServletResponse response)
    {/* mengambil dan membuka file dari sisi server
    berdasarkan huruf pertama dari judul Tugas akhir
    File di Server di bedakan menjadi
    - flatfileA-E
    - flatfileF-J
    - fletfileK-O
    - flatfileP-S
    - flatfileT-Z
    // Memilah String dengan melihat huruf terdepan dari Judul untuk menentukan
    // Flatfile mana yang akan dibuka
    String Filename = "";
    try
    // open files
    Filename = getFilename(Judul);
    URL flatfile = new URL(Filename);
    // open URL connection
    URLConnection connection = flatfile.openConnection();
    // set output True
    connection.setDoOutput(true);
    // set Write data properties to files via socket connection
    PrintWriter Aen = new PrintWriter(connection.getOutputStream());
    // save inserted data into flatfile
    saveWritten(Judul,Id,nama,Abstract,Aen);
    Aen.close();
    //view Inserted File
    BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    while(in.readLine()!= null)
    System.out.println(in.readLine());
    }catch( Exception ae)
    ae.printStackTrace();
    public void postData(String Judul, String Nama, String Id, String Abstraksi,HttpServletResponse response)
    /*Ambil file sesuaikan dengan judul data masukan ke flatfile*/
    getFile(Judul, Nama, Id, Abstraksi,response);
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String J_Ta = "";
    String N_Pem = "";
    String ID_Pem = "";
    String Abs = "";
    try
    { // requesting object parameter and variables
    J_Ta = request.getParameter("Judul");
    N_Pem = request.getParameter("Nama");
    ID_Pem = request.getParameter("IDPembuat");
    Abs = request.getParameter("Abstraksi");
    catch(Exception e)
    e.printStackTrace();
    // Masukkan semua data ke dalam flat file
    postData(J_Ta,N_Pem,ID_Pem,Abs,response);
    I'm trying to modify flatfiles using socket connection
    But what comes out
    No error comes out, but none inserted to the files

    This is a simple edit and replace the existing file:
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * Example of file modification via servlet
    public class FileEditExample extends HttpServlet {
      File file_ = new File("borg.txt");
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws IOException, ServletException {
          response.setContentType("text/html");
          PrintWriter out = response.getWriter();
          out.println("<html>");
          out.println("<head>");
          out.println("<title>Example file edit servlet</title>");
          out.println("</head>");
          out.println("<body bgcolor='linen'>");
          out.println("<h1>Edit me!</h1>");
          out.println("<form action='" + request.getRequestURI() + "' method='POST'>");
          out.println("<textarea rows='20' cols='80' name='text'>");
          synchronized (file_) {
            BufferedReader reader = null;
            try {
              reader = new BufferedReader(new FileReader(file_));
              String line;
              if ((line=reader.readLine())!=null) {
                while(true) {
                  out.print(line);
                  line = reader.readLine();
                  if (line==null) break;
                  out.println();
            } catch (IOException ioe) {
              ioe.printStackTrace(out);
            } finally {
              if (reader!=null) {
                reader.close();
          out.println("</textarea>");
          out.println("<br>");
          out.println("<input type='submit' value='resistance is futile'>");
          out.println("</form>");
          out.println();
          out.println("</body>");
          out.println("</html>");
      public void doPost(HttpServletRequest request,
                        HttpServletResponse response)
        throws IOException, ServletException {
          response.setContentType("text/html");
          PrintWriter out = response.getWriter();
          out.println("<html>");
          out.println("<head>");
          out.println("<title>Example file edit servlet</title>");
          out.println("</head>");
          out.println("<body bgcolor=\"white\">");
          out.println("<h1>Now you've done it!</h1>");
          out.println("<pre>");
          synchronized (file_) {
            BufferedReader reader = null;
            PrintWriter writer = null;
            try {
              reader = new BufferedReader(request.getReader());
              writer = new PrintWriter(new FileWriter(file_));
              String line;
              while ((line=reader.readLine())!=null) {
                if (line.startsWith("text=")) {
                  line = line.substring(5);
                  while (true) {
                    line = deMimify(line);
                    out.print(line);
                    writer.print(line);
                    line = reader.readLine();
                    if (line==null) {
                      break;
                    out.println();
                    writer.println();
                  break;
            } catch (IOException ioe) {
              ioe.printStackTrace(out);
            } finally {
              if (reader!=null) {
                writer.close();
              if (reader!=null) {
                writer.close();
          out.println("</pre>");
          out.println("<a href='" + request.getRequestURI() + "'>Back again</a>");
          out.println("</body>");
          out.println("</html>");
      // decodes mime encoding (probably there's been a utility to do this
      // added at some point, but I wrote this first in '96 and have never
      // bothered to check) 
      static String deMimify (String data) {
        int length = data.length();
        StringBuffer buffer = new StringBuffer(length);
        char ch;
        for (int i=0; i<length; i++) {
          switch (ch=data.charAt(i)) {
            case '+' :
              buffer.append(' ');
              break;
            case '%':
              ch = (char)( Character.digit(data.charAt(i+1), 16) * 16 +
                           Character.digit(data.charAt(i+2), 16) );
              i+=2;
            default:
              buffer.append(ch);
        return buffer.toString();
    }Pete

  • Newbie question bout keyevent on textfield

    Hi,
    i'm having troubles with a keyevent.. can you guyz help me out?
    this is the story: I have a textfield and when they press enter in the textfield the program needs to get some data... the data part is not an isue... is how to know you've got a enterkey as input.
    I tried to put a keyEvent on the textfield but somewhere i read that yur supposed to put an actionevent on the button... what is true bout that?
    SeJo

    the problem is that the keycode off enter is 0
    here is the result if i press a enter
    I use the method that you can find here to display the keyspecifics:
    http://java.sun.com/docs/books/tutorial/uiswing/events/example-swing/KeyEventDemo.java
    and here is the return off that method + a System.out.println ( e.toString()); // where e = my KeyEvent
    KEY TYPED:
    key character = (an unprintable control character)
    key code = 0 (Unknown keyCode: 0x0)
    modifiers = 0 (no modifiers)
    java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,Enter] on javax.swing.JTextField[,148,10,57x20,alignmentX=null,alignmentY=null,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@55f8,flags=16,maximumSize=,minimumSize=java.awt.Dimension[width=57,height=20],preferredSize=java.awt.Dimension[width=57,height=20],caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],opaque=true,selectedTextColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]

  • Question bout chapter marker esthetics for dvd

    Hi
    I'm just about to make a .img to burn dvds from. Haven't made dvds in the past couple years. So maybe this is a dumb question, but since I don't want to create a dvd to find out, tell me: Does it look better to leave 'Chapter X' out of the marker name and just have a title? I forget if there's already a 'Chapter X' list in the menu waiting for names for the Chapters so it would be repititious to have it in the title. Tho maybe some designation before the name is better.
    best
    elmer

    No problem, I made a little test dvd of a couple minutes and saw that there is no
    "Chapter 1 ________
    Chapter 2 ________
    etc"
    I was worried if I titled a marker 'Chapter 1 Whatever', it would appear as 'Chapter 1 Chapter 1 Whatever'. See what I mean?
    So problem solved. I'm working on making an .img for a 2-hour flick so I can knock out a bunch of dvds easily.
    it's been 5 hours and I'm at 58%. A tad slow. I thot it would go faster.

  • Question bout school project

    i am doing a project for school and i need to know what region apple targets and what age group and what religion and what race and ethnics group. if you can answer any of these plz respond thanks

    Did you read the Terms of Use before you agreed to them? Sorry,this forum is for technical support only.
    SubmissionsStay on topic. Apple Support Communities is here to help people use Apple products and technologies more effectively. Unless otherwise noted, do not add Submissions about nontechnical topics, including:
    Speculations or rumors about unannounced products.
    Discussions of Apple policies or procedures or speculation on Apple decisions.
                             4. Do not post polls or petitions or links to same.
    Maybe you should contact Apple directly:
    Apple
    1 Infinite Loop
    Cupertino, CA 95014
    408.996.1010
    Message was edited by: Ingo2711

  • Question bout Macbook

    Hey,
    I am going to go to film school here soon, and need a mac computer. And I was wondering if any one has macbook AND Final Cut Studio. If so how does it work? cuz I've read some places the macbook isn't enough to run it, BUT I've also read other places that the macbook can actually work. Cuz I really dont want to spend 1800$ for a macbook pro, so justwondering, does the macbook work with it?

    if you reed this:http://www.apple.com/uk/finalcutstudio/specs.html
    it says about the minimum specs needed to run final cut studio, after reeding it myself there are some that say it can, but others (like graphics) say no...
    i would advise getting a Macbook pro as a minimum, definitely not a Macbook
    hope this helps!

  • Questiona bout a 15 inch screen for my powerbook g4 867mhz

    i checked so many of the g4 powerbook screen's
    come with
    LTN152W5-L03
    LTN152W4
    and mine is a LTN152W3-L01
    so i should get the same model..or i can get anyone as long as it's Titanium 15.2 ???
    i need help thanks

    Hi, djnauticz. Check with any or all of the parts suppliers listed below for the display you need. They will all know which ones are interchangeable and which aren't, and all are reputable vendors who will stand behind what they sell.
    http://www.pbparts.com (parts and repair work)
    http://www.dttservice.com (parts and repair work)
    http://www.powerbookresq.com (parts and repair work)
    http://www.powerbookmedic.com (parts and repair work)
    http://www.tekserve.com (parts and repair work)
    http://www.ifixit.com (parts and excellent, illustrated online take-apart instructions)
    Prices for the same parts vary WIDELY, so check around.

Maybe you are looking for