Java zoom library

I wrote a zoom library in Java.
A simple demo can be found here:
http://www.activejoy.com/download/programming/zoom/demo.html
The library can be downloaded from:
http://www.activejoy.com/drupal/?q=node/21
I would like to hear comments and suggestions from you :)
Thanks!

hi I've not downloaded the library. I've seen the code but. If u can take a bufferedImage , zoom it to a given value and return the zoomed bufferedImage, It would be helpful rather than, forcing us to use your panel.
U can give greater flexibility in such a way. Do tell me if u've done something like that. I myself would be interested in having it.
thank u

Similar Messages

  • Set image path in java class library

    Hi,
    I created a java class library project and made .jar file. My java class library contains .jpg files in separete folder named as Images. My .jar file contains list of classes and image folder also but when i am using .jar file in applet. java class library is working but images are not shown. Let me know how to create imageicon to show images also in the class library

    ImageIcon icon = new ImageIcon(getClass().getResource(path-to-file));

  • JGSL : about java scientific library, how to use it any tutorial or etc

    Hay,
    I have a question regarding JGSL: java scientific library.
    I just download the jgsl.0.1.1 lib for my project
    It contains a bunch of file, including the lib files
    I set the lib folder path in the LD_LIBRARY_PATH and when i tried to run the testfile.class
    that comes with this library, i got an error
    main class defination not found.
    Have any one used the lib if yes can send me the working example.
    or at least tell me how to set these things, there is no documentation available with this.
    thanks

    Why don't u use a class loader. Try this code
    // loader class
    public class Loader  extends ClassLoader {
        String path;
        public Loader(String path) {
              this.path = path;
        public Class findClass(String name) {
            byte[] b = loadClassData(path+name+".class");
            return defineClass(name, b, 0, b.length);
        private byte[] loadClassData(String name) {
            File file = new File(name);
            byte[] data = null;
            try {
                InputStream in = new FileInputStream(file);
                data = new byte[ (int) file.length()];
                for (int i = 0; i < data.length; i++) {
                    data[i] = (byte) in.read();
            catch (IOException ex) {
            file = null;
            return data;
    // in your caller class use
       Loader loader = new Loader(libPath); // lib path may be taken from a command line arg
       Object main = loader.loadClass("ClassLib", true).newInstance();I think this is what u r looking for
    Uditha Nagahawatta

  • Java SSF library

    We are trying to use SSF ( digital signatures ) as authentication mechanism for Archive Link through HTTP Interface.ABAP code is generating PKCS#7 signed URL and we want to verify it using Java SSF library in an external system.SAP documentation talks about JAVA IAIK toolkit can be downloded from Service market place. I can't find it on service.sap.com. Does anybody know where can I download JAVA SSF from ?
    cheers
    Ramesh.

    Hi Aldo,
    The java packages where this classes and interfaces are implemented are:
    - com.sap.security.api.ssf
    - com.sap.security.core.server.ssf
    You can find this in the jar file tc_sec_ssf.jar.
    Also look the following SAP Help link [Secure Store and Forward Mechanism (SSF)|http://help.sap.com/saphelp_nw2004s/helpdata/en/4d/bf6f77a2c5446a86e0152f1b309db6/frameset.htm]
    Please reward if helpful.
    Regards
    Alexandre

  • Java class library method definition is visible in debugging!!!!!

    I create a jar by using java class library project option, and when i am using it in other project, it is displaying all code inside the library, i implement security inside the java library, it contains some key ...... is there any way to hide the code? or how to hide my logic when i submit it to client...
    is there any tool for this or is there are any technique to create a dll like microsoft supply.

    rohit pathak wrote:
    thanks for your time gimbal2 ,
    I tested it and it is working fine, i choose the option
    Exclude from jar file - **/*.java
    and its worked out.could you tell me about security of this class library (.jar file) ? Although i used required code { code which omit .java file during packaging } , is this is secure? or we can get the code { key in my case } from .jar file by any java tool.As you have already noticed through your other thread - yes you can.
    how to secure code in java..

  • Java math library?

    Hi all,
    Does anyone know a java math-library which provides analysis stuff?
    I'd like to generate a function (approximation) which describes a curve.
    What I need is an implementation of Lagrange interpolation formula or
    Newton interpolation formula.
    Google lets me down. Any help would be greatly appreciated!

    You could try looking through the list of stuff at http://math.nist.gov/javanumerics/

  • Java Class Library

    What's the online Java Class Library reference site?
    I swore it was on this Java.sun.com site, but I can't seem to locate it again.
    Thanks,
    MB

    Are you looking for http://java.sun.com/j2se/1.3/docs/api/index.html by any chance ?

  • MDM 5.5 Java API Library Reference Guide

    hi friends,
    I need MDM 55 Java API Library Reference Guide  pdf file
    please forward to me
    its urgent

    That is for pdf. I thought once you're signed on here, that should work, too. However, here is the online help (same docs):
    [http://help.sap.com/saphelp_mdm550/helpdata/en/43/D7AED5058201B4E10000000A11466F/frameset.htm]
    In Programming Interfaces on the left you will find the Java API guide.

  • Third-party Java Visualization Library?

    Hello,
    I am going to develop a Java Application which needs to draw some charts, like annotated line. Structure of data is simple that only datetime and value are included, but amount of data is huge. I am new to Java Visualization and can someone give me some advices on this issue? Which will Java Visualization Library suit to my requirement?
    P.S. Free library would be better.

    J.Yang wrote:
    I am going to develop a Java Application which needs to draw some charts, like annotated line. No problem; plenty of libraries out there. I use JFreeChart from www.jfree.org.
    Structure of data is simple that only datetime and value are included, but amount of data is huge. Then you start to have a problem.
    I am new to Java Visualization and can someone give me some advices on this issue? If you have a very very large dataset and you are charting time series then your charts will be cluttered. You will have to in some way reduce the data to a more reasonable size so that you are plotting no more than 1 point per pixel along the time axis. My approach to this is to condense the data into three lines. The primary line breaks the time into a smaller number of segments (500 or so) and computes the average value for each segment and plots this average. You then create two secondary lines which use the same segments but compute the minimum and maximum value for each segment and you then plot the line of minimums and the line of maximums.
    Be aware that this condensing of the data must be done outside the event thread.
    Which will Java Visualization Library suit to my requirement?
    P.S. Free library would be better.

  • Oracle Spatial Java Class Library Download?

    Hello,
    where can I download the Oracle Spatial Java Class Library? I installed OracleXE which can handle SDO_GEOMETRY types and now need the java library for programming against the database.
    greetings
    Peter

    If you mean by samples that show you how to manipulate Geometry types than you can find this tutorial using java and connecting to your DB via Oracle Spatial Network Data Model (NDM) https://spatial.samplecode.oracle.com/servlets/ProjectProcess?pageID=0Zl7oV
    My personal experience, it would be good idea to have oracle 11g Release 2 installed.
    It shows you different ways to query spatial data. You might also be interested in this documentation on oracle Topology and NDM Developers guide: http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28399.pdf

  • Java Class Library (SDOAPI)

    Greetings,
    Using Oracle Spatial Java Class Library (SDOAPI) GeometryAdapter.importGeometry method on the following geometry causes a InvalidGeometryException to be thrown.
    SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 0, 6000, 4, 1, 1),
    SDO_ORDINATE_ARRAY(27.3384, 81.4328, 0, 587581.22, 4789617.17, 0))
    This geometry appears to be valid according to the SDO_GEOM.VALIDATE_LAYER and SDO_GEOM.VALIDATE_GEOMETRY functions.
    How can this geometry be read using the SDOAPI?
    Thanks,
    Jeff

    Daniel,
    Thank you for the prompt response and valuable information. My registration contains my accurate e-mail address. Please notify as soon this bug fix is available.
    Thank You,
    Jeff

  • Java networking library with RMI-like functionality?

    Is anyone aware of a Java networking library, that provides RMI like functionality and TCP/IP with an intuitive API and minimal coding required? I'm working on a prototype, but I'm having difficulty getting Java's RMI functionality working through Netbeans, so while I'm prototyping I'm looking for alternatives so I can code more and frustrate less!
    Thanks

    BobCrivens wrote:
    Thanks ejp.
    I guess I'll re-phrase the original question. Is there a small open-source Java networking library that doesn't include RMI, but gives a simple API for TCP/IP connections (higher level than sockets) and includes file transfer? I don't know if I need things like FTP/HTTP/POP/SMTP support etc for now.
    ThanksI gotta be honest with you here. I think you need to stop coding for now and get your requirements in hand with a better grasp on how network programming works.
    Not being insulting here but your questions show your current knowledge level on the subject to be not really sufficient for success with whatever it is you want to do.
    There is the networking tutorial available here http://java.sun.com/docs/books/tutorial/networking/index.html but it might do you well to tell us exactly what you are trying to do. Are you trying to build an FTP client? Are you trying to build a whole client/server program of some sort?
    Because everything now is very vague. You seem to be looking for protocols or API's between TCP and things like FTP for example and none exist because these sit directly on top of TCP. So you either deal directly with the Sockets or you deal with some library that deals with the protocol in question. There isn't an "in-between" layer here.

  • Where can I downlaod java swing library for JDk?

    where can I downlaod java swing library for JDk?

    Are you sure you don't have Swing? It comes with the JDK. If you don't have it, look at http://java.sun.com/products/jfc/download.html
    If you are using JDK 1.1, you can download Swing alone - but be aware that this is an old version. You would be best advised to download the Java SDK 1.3.1, which includes Swing 1.1.
    Regards,
    Matt

  • Java SSF Library - interface  ISsfData and class SsfDataXML

    Hello all,
    Can anybody tell me in which Java library I can find the interface ISsfData and class SsfDataXML used in the following example (see link)?
    http://help.sap.com/saphelp_nw70/helpdata/EN/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
    Which JAR file(s) contain these libraries?  It is described as the Java SSF Library...
    I would like to copy this file locally and add it as an External Library to an Eclipse project.
    Many thanks,
    Aldo

    Hi Aldo,
    The java packages where this classes and interfaces are implemented are:
    - com.sap.security.api.ssf
    - com.sap.security.core.server.ssf
    You can find this in the jar file tc_sec_ssf.jar.
    Also look the following SAP Help link [Secure Store and Forward Mechanism (SSF)|http://help.sap.com/saphelp_nw2004s/helpdata/en/4d/bf6f77a2c5446a86e0152f1b309db6/frameset.htm]
    Please reward if helpful.
    Regards
    Alexandre

  • Sample java files Java Spatial Library

    The documentation for the 'Java Spatial Library' mentions and describes example java code. Does anybody know where to find them (another thread contained a reference to the download location, but the sample java files where not included there).
    Kind regards, Frank Tuijnman

    Try this URL http://technet.oracle.com/products/spatial/

Maybe you are looking for

  • Why are my mp3's and m4a files no longer recognized?

    All of a sudden, 95% of the 10,000 music tracks in my iTunes Library has become unplayable. It concerns mp3 and m4a files with music that I purchased and ripped over the years. Wifi syncing to my iPhone 4s made it worse: now the Music app on my iPhon

  • I had to install itunes on a new hard drive and when I synced my ipod it duplicated a bunch of songs, how do I fix this?

    I had to install a new hard drive on my system and download itunes again. When I synced my ipod it duplicated a bunch of songs, how do I fix this problem?

  • Internal Web Browser Issue

    We are working on our first digital publication and are having some issues with the internal browser. It appears to break web pages into strips see here: We have tried various sites using the same internal browser and they all break the same (on both

  • Cannot launch Camera Raw in PSE 8

    I have PSE 8 with the Camera Raw 6.2 plug-in. The program works perfect exept that I cannot launch the Camera Raw converter. When I open a RAW-file in the editor or via the organizer, then the file just opens in the Editor mode. No raw converter... I

  • Adobe Reader plugin in Chrome browser

    After last Google Chrome update (42.0.2311.90) I can not find Adobe Reader plugin. I have 2 options now - open PDF in Acrobate Reader or open by Chrome PDF plugin. And native Chrome PDF plugin does not submits form data... Is it possible to fix this