Help+Book on Java2d+Examples

Hi,
Can anyone point me to a good book on java2d with lots of examples. I basically need to construct composite gif images on server side and send them to client. As am completely new to java graphics it would be nice if the book exaplains all the things related to it also, I went through java2d api doc and few tutorials on java 2d online but there are so complex and they are not in detail So am not able to understand completely.
Waiting for a reply.
Thanks
Deepak

Hi,
Thanks for the info. But as I am in India , I enquired a lot about any book on Java2D API, but unfortunately there is'nt any Indian version of the book avail on java2d API. In case you have any pdf version of book please do send across{[email protected]} .
Thanks once again
Regards,
Deepak

Similar Messages

  • How can I save a page and all its component parts in a single file, like IE does as an MHT - it's much easier for mailing to people where page address not available?? (as in output from an airline booking site, for example)

    how can I save a page and all its component parts in a single file, like IE does as an MHT?
    It's much easier for mailing to people where page address not available?? (as in output from an airline booking site, for example)
    It is simply too painful to have to zip everything up into a single file to send. MHT format has been available for years now from IE, and with every new FF release it's the first thing I look for. I have been using FF for years, and hate having to come out of it, over into IE |(which I even took out of startup) and key everything in again, in order to send somebody something in a convenient format that they can open with a single click.
    I can't believe this hasn't been asked before, so have you looked at it and rejected it? Have MS kept the file format secret?
    Thanks
    MG

    This is not really an answer just my comments on your question.
    I am sure I recollect efforts being made to get mhtml to work with FF.
    Probably the important thing to remember about .mhtml is that if other browsers do support it they may need addons, and may not necessarily render the content correctly/consistently.
    There are FF addons designed for archiving webpages, you could try them, but that then assumes the recipient has the same software.
    You could simply save the page from FF to your XP pc; then offline open it with and save it using IE, before then emailing using FF, and attaching the .mht or mhtml file that you have now created on your PC.
    As an alternative method, in some cases it could be worth considering taking a screen grab of the required page, then sending that to the recipient as a single email attatchment using either a bitmap or jpeg file format for instance.
    Something such as an airline booking may be designed with a print option, possibly it could be worthwile looking at sending the print file itself as an email attachment.

  • Hello MacHeads: I downloaded Handbrake 0.9.1 for Tiger, so I can upload a homemade DVD for editing in imovie.  Problem is I can't even access Handbrake Help book, because I think my firewall settings are preventing me.  I tried turning off all my firewall

    Hello MacHeads: I downloaded Handbrake 0.9.1 for Tiger, so I can upload a homemade DVD for editing in imovie.  Problem is I can't even access Handbrake Help book, because I think my firewall settings are preventing me.  I tried turning off all my firewall settings.?  IDK if I'm even doing that right.  Can anyone help out here?

    You don't need Handbrake for that if it is your own DVD.
    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle.
    a DVD is in a compresed format called mpeg2, which is standard across all DVDs. This is what is known as a 'final delivery format' and is not suitable for editing. Because is is compressed, a 4.7GB DVD can hold a two hour movie (dual layer DVDs twice that), whereas the DV stream from a video camera, which runs at about 13GB per hour, is not compressed and IS intended for editing.
    In other words you have to 'reverse engineer' the DVD back to an uncompressed format in ordfer to edit it. There is a penalty for doing this in terms of slight quality loss, but it is one you can live with.
    When you have your DVD as an icon on your desktop, double-click it, and it will open to reveal a TS-Folder containing a number of various files, some called VOB. These are the constituent parts of any video DVD.
    When you have downloaded and installed mpegStreamclip, and purchased and installed the Apple mpeg2 plugin, open mpegStreamclip and drag the entire TS Folder into its window. Then using the various menus available to you (just explore them and you will get the hang of it) ask it to convert to DV.
    That DV file, which will be many times larger than the original TS Folder, and which can a while to create (be patient - make coffee or prune the roses!) is what you can now import into iMovie for editing etc.
    When you have finished doing that, you then have to turn the project back into a DVD.
    mpegStreamclip can be downloaded from here:
    http://www.apple.com/downloads/macosx/video/mpegstreamclip.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.

  • Are there any applications which assist in writing Help Books?

    Apple has some really good documentation on writing help books, and one can use any HTML editor to write them. However, there are certain standards and unique features that aren't supported by a generic HTML editor, like making sure the Bundle has a consistent format, the info.plist is valid and contains all of the necessary information, etc.
    I figured there must be at least one application out there that would provide such features as well as be a decent HTML editor.

    Primarily as an HTML editor...depends on the use - there are tons of add-ons for BBEdit (and TextWrangler), tho, and I don't know your skill level, budget, exact needs etc. so it's up to you to research based on those.
    Again, the field is sparse, if for no other reason than each writer's needs tend to be very specific. I use a basket of tools, depending on content, etc. Will the content be used for multiple deployments? Print only? In-house trained users? Multiple languages? Re-doing legacy content? Updated live? iOS only? Does it require 508 compliance?
    Good luck.

  • Macro Help book for SCM7.0

    Hi expert
    I am looking for SCM7.0 macro help book for upgrading SCM4.0 to SCM7.0.
    If anyone have book, please let me know.
    Best regards
    Hinoki from JAPAN with love

    Hi,
    There is an OSS note  which may partially help you.
    539797  Collective Consulting Note on Macros  .
    Please check this.
    Regards
    Datta

  • Oracle Help book topic

    In oracle 6i there is an item property called, "Help Book Topic". Can some one tell me how to use this.
    Regards
    ZIA

    This property was used by "Oracle Book" a product that doesn't exist anymore.

  • Help - need jar deploy example

    Hello,
    I have been banging my head for two days trying to get a simple app that has two jars to run in any directory. If I jar an app in c:\mydir\app.jar
    It runs ok, if I move it to c:\
    it fails because it cannot find the class files.
    How would you deploy a app that has one jar file with it so it runs in any directory?
    example:
    pgm1
    pgm_class.class
    second.jar
    I jar pgm1 to pgm1.jar
    What should the manifest.mf file look like?
    Thanks in advance for the help.
    I don't know why this seems to be so hard.
    Regards,
    Frank

    It seems that you need a Class-Path: entry in your jar.
    Look for the tutorials:
    http://java.sun.com/docs/books/tutorial/jar/index.html

  • Need help with CONTACT sync example

    I have been trying to work with the Sync example that utilizes the MEREP_CONTACT_* BAPI wrappers.  Is there anyone who has been able to get this example to work that could give more information on it?  I can create the programs, but cannot get data to it.  Which SyncType is it supposed to use?  What directory do you create the data from MEREP_SAP_EXM002_DATA_GEN1?
    Any information would be greatly appreciated.
    Thanks
    Brian Timothy
    [email protected]

    hello brian,
    i created the contactaddress test application and used these BAPIs on the backend mapped to syncBos SAP_EXM001 and SAP_EXM002. the basic requirement for this is to deploy your application together with the xml metadata.
    after your application is installed in the ME, the framework will automatically send a data download request for syncBos SAP_EXM001 and SAP_EXM002 on the next synchronization. Prior to this, the application tables in the backend like the MEREP_PERSON which is mapped to the syncbo SAP_EXM002 should be filled with data.
    use MEREP_SAP_EXM002_DATA_GEN2 and MEREP_SAP_EXM001_DATA_GEN1 to fill-up the tables with data.
    you should have at least a data viewer for the corresponding syncbo data on your application.
    hope this helps.
    regards
    jo

  • Please help: Book Cover Changes Colour When Exported

    Hi there,
    I have designed a book jacket with a black background - all fairly minimalistic design elements for an economics book.
    When I export the file to PDF or png - I am getting the inverse image in terms of colour and the text is an outline instead of its actual colour.
    I am not sure what I have done or what I should do. Please help..l[

    Echoing what Peter touched on.
    Mac Preview does not address all the Adobe modules in Acrobat.
    Acrobat is best for viewing.
    You say it's a dust jacket, dust jackets are print, so have you used a print profile of CMYK that your printer has provided?
    If not - then please get one. Also calibrate you monitor for colour.
    If it's being printed, get a colour proof and talk with your printers on colour issues.

  • Help me with the example in the QuickStar

    Hi, all
    I am a newbie in J2EE. I just installed it and try to follow the example in 'Quickstart', It's within the topic "Deploy an Application from a Development Directory". I am trying to follow the procedure given there.
    I create a 'build' directory as it said and upzip the 'hello.war' into this directory, then I try the following steps:
    c:\>user admin --password 12345678
    c:>asadmin deploydir c:\Sun\AppServer\samples\quickstart\build
    then the following message came out:
    Invalid user or password
    CLI137 Command deploydir failed
    I also firstly tried the other way since I did click the '"Don't prompt" option when installing it:
    asadmin deploydir c:\Sun\AppServer\samples\quickstart\build
    but it repoted the same message!
    Please help me out of this situation. Any kind of help is highly appreciated!
    X.Chen

    Could you try the following command:
    asadmin user <username> password <password> deploydir c:\Sun\AppServer\samples\quickstart\build
    where you replace <username> and <password> with the appropriate values for your setup. As noted in the quick start guide you do not have to provide the user and password options if you used the "Don't Prompt" option when installing the app server.

  • Where is the Help File in VB examples?

    Hi,
    I'm running through the examples of Measurement Studio for VB6. 
    When the project runs, pressing the [Help] button invokes an help file.  However, when not running, while looking at the callback for the [Help] button I can only see  the procedure  'Private Sub CWHelpButton1_GotFocus()'.  There's nothing in this procedure to call the help file.
    How does the help file invoked?
    Thanks
    Rafi

    It looks like that button is designed to just give help about additional examples:
    http://digital.ni.com/public.nsf/allkb/AB2EA98D18D​2F12E862565ED006BAA3F
    What information exactly are you looking for when you ask  "Can anybody tell me how to obtain this information?"
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • Any good Java books with Business Examples ?

    Can anyone recommend a Beginner Java book that has some good Business Examples ?
    (Don't recommend the SUN tutorial, as their examples are more for the rocket scientist).

    Not sure what you mean by business examples, but here goes.
    Check out Wrox for some excellent books - not all excellent.
    Check ot samspublishing for the same.
    I have a superb book called Learning java (O'Reilly) that I would recommend to anyone. It lacks complete examples, which I usually rely on, but is a major piece of work for the novice - I have found a large part of this book on the web also, can't remember where.
    My very favourite read is Wrox - J2EE Java server pages
    I would stilll recomend avoiding books by Manning which are generally incomplete and point to other books they have published for this other info.
    best,
    Kev

  • From Labview 7.1 help, can't load example vi's

    Quick question:
    When in Labview 7.1 Help, I can no longer load example vi's. I receive a message: "An error occurred – The NI HelpServer could not be found."
    A search on the NI website finds this issue listed & a solution given for Labview version 7.0. It is suggested to:
    Solution: NI HelpServer is one of two services which open TCP/IP ports to communicate with other NI applications running on your computer, such as the NI Example Finder and the LabVIEW Help. By default, LabVIEW 7.0 will launch this service at startup, however, if it has been disabled you will get this error message. In order to enable the HelpServer, navigate to C:\Program Files\National Instruments\LabVIEW 7.0\resource\system and run the HelpServer.llb. On the front panel of the Set HelpServer Config Settings__NATIONAL INSTRUMENTS.vi you will see a boolean control to enable the server. Turn this switch on and run the VI. The LED indicator in the HelpServer.vi will turn on and you will be able to access the shipping examples from the NI Example Finder.
    One finds a HelpServer.llb / HelpServer Config Settings routine in Labview 7.1 as well, and after setting the LED green, the new error message reads:
    Error 63 occured while trying to open this example using the NI Example VI Finder.
    Help!

    Hi Targa,
    Please make sure that you are not blocking the "Port Used" by other applications or firewalls. You might also want to stop and restart the HelpServer.vi several times to access an available port.
    Let me know if you keep getting the error.
    - Philip Courtois, Thinkbot Solutions

  • Help with NI-DAQ Example Code

    Hi. I've just started working with the NI ISB-6211. This is the first ACD i've ever used, so i'm farily new to this. I have quite a bit of knowledge in programming. After searching through the installation files I found some example C Code that runs in the command prompt. I've modified one quite a bit to get it to do what I want. My question is...
    Now, i'm having some issues. I'm trying to get it to print a voltage reading into the command prompt. I've hooked it all up and i've used labview to make sure everything is working as it should (Which it does!). When I compile the C program and run it, instead of returning a voltage it just aquires points, and I really have no idea what these "points" are.
    Here is the main part of the example code:
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,1.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",10000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,1000));
    // DAQmx Start Code
    DAQmxErrChk (DAQmxStartTask(taskHandle));
    // DAQmx Read Code
    DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByChannel,data,1000,&read,NULL));
    printf("Acquired %d points\n",read);
    Error:
     And then it just moves down to the exit clause. Is there any documentation anywhere which tells me which DAQ command I need to use to print a continuously updating voltage read out? (Just as a decimal, like 5.21V for example).
    Thank you all
    John
    Solved!
    Go to Solution.

    John,
    The data acquired by DAQmx is written into the array called 'data'.  The number of points DAQmx wrote into this array is stored in the variable 'read' which was passed in by reference.  To print the values returned, you'd need to loop over the 'data' array, and print each value.  See this help topic for an explanation of DAQmxReadAnalogF64.
    Dan

  • Help me running CryptoTest example

    Hi there..
    I need a help with CryptoTest example. It can be found here: http://java.sun.com/developer/J2METechTips/2001/tt1217.html
    I�m using J2ME WTK 2.2 + patch.
    What should i do to build it?
    At least, could anybody tell me a good tutorial that teaches how to use differents libs?
    Thanks so much..
    The source is it:
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    import org.bouncycastle.crypto.*;
    // Simple test of encryption/decryption routines.
    public class CryptoTest extends MIDlet {
        private Display display;
        private Command exitCommand =
                             new Command( "Exit",
                                         Command.EXIT, 1 );
        private Command okCommand =
                             new Command( "OK",
                                          Command.OK, 1 );
        private Encryptor   encryptor;
        private RecordStore rs;
        public CryptoTest(){
        protected void destroyApp( boolean unconditional )
                       throws MIDletStateChangeException {
            exitMIDlet();
        protected void pauseApp(){
        protected void startApp()
                       throws MIDletStateChangeException {
            if( display == null ){ // first time called...
                initMIDlet();
        private void initMIDlet(){
            display = Display.getDisplay( this );
            // Open a record store here
            try {
                rs = RecordStore.openRecordStore( "test",
                                        true );
            catch( RecordStoreException e ){
                // put in error handling here
            display.setCurrent( new AskForKey() );
        public void exitMIDlet(){
            try {
                if( rs != null ){
                    rs.closeRecordStore();
            catch( RecordStoreException e ){
            notifyDestroyed();
        private void displayException( Exception e ){
            Alert a = new Alert( "Exception" );
            a.setString( e.toString() );
            a.setTimeout( Alert.FOREVER );
            display.setCurrent( a, new AskForKey() );
        class AskForKey extends TextBox
                        implements CommandListener {
            public AskForKey(){
                super( "Enter a secret key:", "", 8, 0 );
                setCommandListener( this );
                addCommand( okCommand );
                addCommand( exitCommand );
            public void commandAction( Command c,
                                       Displayable d ){
                if( c == exitCommand ){
                    exitMIDlet();
                String key = getString();
                if( key.length() < 8 ){
                    Alert a = new Alert( "Key too short" );
                    a.setString( "The key must be " +
                                 "8 characters long" );
                    setString( "" );
                    display.setCurrent( a, this );
                    return;
                encryptor = new Encryptor( key );
                try {
                    if( rs.getNextRecordID() == 1 ){
                        display.setCurrent(
                                      new EnterMessage() );
                    } else {
                        byte[] data = rs.getRecord( 1 );
                        String str =
                           encryptor.decryptString( data );
                        Alert a =
                            new Alert( "Decryption" );
                        a.setTimeout( Alert.FOREVER );
                        a.setString(
                            "The decrypted string is '" +
                                     str + "'" );
                        display.setCurrent( a, this );
                catch( RecordStoreException e ){
                    displayException( e );
                catch( CryptoException e ){
                    displayException( e );
        class EnterMessage extends TextBox
                           implements CommandListener {
            public EnterMessage(){
                super( "Enter a message to encrypt:", "",
                       100, 0 );
                setCommandListener( this );
                addCommand( okCommand );
            public void commandAction( Command c,
                                       Displayable d ){
                String msg = getString();
                try {
                    byte[] data =
                          encryptor.encryptString( msg );
                    rs.addRecord( data, 0, data.length );
                catch( RecordStoreException e ){
                    displayException( e );
                catch( CryptoException e ){
                    displayException( e );
                display.setCurrent( new AskForKey() );
    }Message was edited by:
    eduardoll

    Could you try the following command:
    asadmin user <username> password <password> deploydir c:\Sun\AppServer\samples\quickstart\build
    where you replace <username> and <password> with the appropriate values for your setup. As noted in the quick start guide you do not have to provide the user and password options if you used the "Don't Prompt" option when installing the app server.

Maybe you are looking for

  • *Help, please* Preserve Community Styles in Gateway?

    -Plumtree, I really do need some help on this one. I know that our requirements are probably past the scope of what community branding was meant to accomplish, but they are requirements nonetheless... I have 2 issues - 1) I need to preserve Community

  • Trouble w/installing Solaris 10 branded zone on solaris 11.

    Having issues creating a policy that works installing solaris 10 u10 branded nfs zone on sol11 in opscenter 12c u1. Maybe i'm just overlooking something basic or it isn't supported in opscenter. I'm able to create the policy but seem to get a very no

  • Calculate row in report editor

    Hi everyone,<BR><BR>I am trying to create a calculation in Hyperion Essbase Report Editor by using { CALCULATE ROW "newRow" [ columnNo ] = expression } but it is not working. What I try to do is for example from Sample: Basic database I am trying to

  • Mpv stopped displaying video, only plays audio

    Suddenly mpv stopped opening my video files, it didn't open its screen and just played the audio, forcing me to kill the process. I ran mpv on a terminal and got the following output: Playing: /mnt/data/video.avi [cache] Cache size set to 8192 KiB Ca

  • Nothing supports on JMC

    well I have just downloaded the javafx sdk, and experimented alittle with JMC. I created a simple media player =D but I havent been able to get anything to to play D=. It keeps throwing me a media unsupported exception with every type of file extensi