Direct Draw Examples

When JDK 1.4 was released a month ago or so there was an article on the javasoft home page talking about all the new things that were in 1.4. One of the things mentioned was a direct drawing API that is similar to DirectX.
When I downloaded and installed 1.4 I didn't see anything in the demo directory that looked to be a direct draw example. Does anyone know if there is a web page of examples for this new direct draw API?
Thank you
Greg

check out this link: http://www.rolemaker.dk/articles/evaljava/Evaluating%20Java%20for%20Game%20Development.pdf
the document is pretty large; it is up-to-date (from march 4), and the author has posted her/his email address - maybe it helps.

Similar Messages

  • Direct Draw init failed!

    Have an MSI Gf4 Ti4200, 512MB ram, VIA chipset mobo etc and i constantly get direct draw problems. Sometimes it tells me theres a direct draw init problem other times the graphics simply run poorly. Tried upgrading to directX 9.0 and changing all my drivers. Can't figure this out any pointers please...?
    sm&s

    Ok, let's compile all the problems that you guys have here.
    1) Direct Draw has failed regardless of number of formatings or re-installing.
    2) Have tried all versions of DirectX (8.1/9.0/9.0a) but results in vain.
    3) Have tried all version of nvidia drivers and detonators but no improvement.
    I have an idea here where it possible for you to detect errors on this.
    Go to find files/ folders using keyword "DXDiag".
    Activate application and let the program detect if everything of your DirectX, GPU drivers etc... are digitally signed. Check also if there are any errors or conflict occurred in your DirectX registry files. Do every testing of Direct Draw etc...
    If you've detected errors here, I would think that you'll need to get to update your DirectX again... though you guys may have done this umpteen times... After updating go through process again and check if errors still ghost around.  :)
    All the Best...  :D !!!

  • Has Sun fixed the direct draw and direct X problems?

    I have been looking at the bugs and forums lately and have not seen anywhere that Sun has fixed the direct draw and direct X problems. I disabled these options a while back but would like the performance of direct draw back. Here are the flags I am talking about.
    System.setProperty("sun.java2d.ddoffscreen", "false");
    System.setProperty("sun.java2d.noddraw", "true");
    I want my native performance back.
    Any news?
    Thanks,
    Pat

    Quote
    dxdiag shows agp texture accel. to be not available
    I had that same thing happen on an older system while using a GF2 MX and a NIC card in the top PCI slot. I discovered the AGP and top PCI were "shared" on that mobo. Moving the NIC to another slot resolved the issue.

  • Direct draw problems with fx5200-td128

    For some reason, this card refuses to work 100%. dxdiag shows agp texture accel. to be not available, and the direct draw tests do not work. I have the 53.03 drivers.
    I've reinstalled directx, drivers, etc... numerous times. I've also tried both the Nvidia and the MSI drivers. I've played with the AGP size in bios, as well as all the other AGP options, and can't seem to find a combination that works.
    System:
    MSI Kt6-delta mb
    Athlon XP 2600+
    512Mb PC3200 Micron
    No overclocking
    any thoughts?

    Quote
    dxdiag shows agp texture accel. to be not available
    I had that same thing happen on an older system while using a GF2 MX and a NIC card in the top PCI slot. I discovered the AGP and top PCI were "shared" on that mobo. Moving the NIC to another slot resolved the issue.

  • Direct Draw Graphic cards!

    When using ULTRA one needs a graphic card which does "DIRECT DRAW". My current graphic card MATROX PAHELIA is not compatible. How do I figure out which graphic card is compatible and has "direct draw"?

    What is it about these cards anyways?

  • Direct Draw Issues (K7N2G-L & Me)

    Direct Draw causes a failure & often a automatic system rebooot.
    First off, I have
    -all the latest msi drivers
    -latest nividia drivers (as far as i know)
    -latest direct x (9)
    I have run all diagnostic direct x tests, and they ALL pass. I have also tried various bios configurations.
    Ive probably put aover 35 hours attempting to cure this issue, from format/install, XP Pro, to ME (me is more stable). And MASSIVE amounts of different bios configurations.    ;(
    I noticed that direct draw version is the same when i had direct x 8, as it is with 9. Is an old version of direct draw set into the motherboard somehow?
    SOMEONE HELP IF YOU CAN!

    Sounds like it may be hardware, if you did all that and still have a problem.  As far as I know directx stays on your harddrive and is a part of the actual operating system.  Thus when you reformat, it is erased.  I used to have a gainward GF2MX (that I tortured inhumanely) that had a similar problem with directdraw.  whenever I started any directdraw game, the OS would scream and then show multicolored bars across the screen, after some deduction, it turned out that the gainward tweak program that came with the card installed fine in xp, but really puts its foot in my computer's ramslot whenever it started any 2d action.  Just a thought, but it sounds like more of a potential hardware problem to me like the actual vidcard itself.

  • How to transform a photography to this kind of painting/drawing. (examples attached)

    Hi,
    I would like to transform photographies into one specific kind of paint/draw.
    I understand theres allot of filters already available and i also downloaded some actions i found, none gave me the result i want, below theres an example of a photo i want to transform (left) and an example of the kind of end result i am looking for (right).
    If anyone outthere can give me an anser i would deeply appreciate.

    Hi,
    See if these links help.
    Russell Brown has a tutorial for watercolor, but it uses Photoshop Touch:
    http://tv.adobe.com/watch/the-russell-brown-show/creating-a-watercolor-painting-with-adobe -photoshop-touch/
    For deeper instruction on watercolor painting techniques with Photoshop, Tim Shelbourne has a great resource here:
    http://www.theartistsquarter.com/
    regards,
    steve

  • Biller Direct / UCES example code or ear

    I am implementing UCES (UCES = Biller Direct + ISU functionality). According to Biller Direct Modification documentation (http://help.sap.com/saphelp_erp2005vp/helpdata/en/05/8d763ee8f9e946e10000000a114084/frameset.htm) (under Integrating Separate Customer Functions),
    "The SAP Biller Direct delivery contains example code for customer-defined enhancements in the .ear file that you can use as template for implementing your own functions. After you have unpacked the application as set out in the implementation guide, you can find folder \docs\customerExtensions. "
    The ear file or example should have CustomerExtendAction.java, CustomerExtendRootBean.java, CustomerExtendDataBean.java and etc files.
    I don't have these files in \docs\customerExtensions folder.
    Please send a copy to me if you have it. My email is [email protected]
    Thank you.

    The problem has been solved by SAP. SAP has created a SAP Note 1083420. The Note has the sample codes attached.

  • When I am looking at a direct image (Example: an imgur link) the picture is centered and on a dark grey page after I updated to FF 11.0. How can I change this back to normal?

    As the title suggests since updating whenever I visit a direct image link the page turns dark grey and the image is centered.
    Screenshot: http://i.imgur.com/0MMMT.jpg
    This is awful and I would appreciate any help in reverting whatever got changed.
    Thanks!
    -Andrew

    That is a new feature in Firefox 11+ added by this stylesheet:
    * resource://gre/res/TopLevelImageDocument.css
    You can look at this extension.
    * Old Default Image Style: https://addons.mozilla.org/firefox/addon/old-default-image-style/
    See also this forum thread for a solution with userContent.css:
    *[[/questions/923127]]
    * http://userstyles.org/styles/58710/firefox-11-change-image-view-background
    * http://forums.mozillazine.org/viewtopic.php?f=38&t=2443535

  • Modbus (RS485) and Automation Direct GS2 Example

    I am looking to see if anyone has used the Automation Direct GS2 Drive and LabView and has a workign VI? I have been looking over Modbus over RS485 that the GS2 uses and I have looked at the Modbus .vi library. Correlating all that into one cohesive thought seems to be escaping me. I am new to LabView and never seen Modbus before and I have a very short schedule to get something going. Even if all the .vi did was start and stop the motor I would be happy. Then I could work the rest out.
    GS2 Manuals
    Solved!
    Go to Solution.

    That was a better explanation then the other info I was looking at as far as address and commands. I at least have the drive displaying an error. Yesterday it just sat there and showed 00 on the drive display. Sometimes it is the little victories. I am also getting error codes back from the drive which is some sign of life, the drive displays error 03 and my vi displays a 03 when it errors out.
    From the manual:
    error 03: Communications Warning: Illegal data value - The data value received in the command message is not available for AC drive.
    But now for the continuing headaches.
    I have tried to read the firmware version using the command/address you talked about with no success. I guess I would be even happy with that to work. The vi does not accept an address of 091B (run) it will not accept the "B" of the hex number.
    So for run:
    Description                Hexadecimal    Modbus Decimal     Octal
    Serial Com Run               091B                 42332                      4433
    This implies a Read Input Register command 4 to Hex address 091B? Looking at the Modbus intro I see the code 4 in table 2 aka the read Input register. I would say that is just to read the status of the run register. 00-Stop, 01-Run. So what does that corespond to writing to the register 62332?
    Attachments:
    GS2 Control.vi ‏13 KB

  • 2d Direct draw, and how to find out if the application is a java apps

    I am running a banner application that was written in java. And in some instances, we are seeing the banner flicker every 5 seconds or 10 seconds. The banner application is written by some other government branch and on their documentation they say that the flickering is due to java's 2D directdraw used by some other java application (not their banner application). I personally haven't seen this on our test VMs but it is being seen on some physical workstation at the client site.
    I am trying to find out the application that is using java's 2D directdraw in our environment. Some of the question I have is
    1) Is there anyway to find out what application is using java 2D directdraw? ( I know how to disabled it globally for java but don't want to do that, I would rather just disable it for one application than disabling it on all java application)
    2) Is there anyway to find out what applications are depended in JVM on a machine? So that I can narrow the list of application to test.
    3) Is there anyway to find out if a application is written in java. Our environments have a lot of applications installed on them and I'm not sure which one use JVM and which one don't. If there is a way to know that then I can narrow down my issue and try to solve it.
    Thank you for your help, I really appreciate it,
    Sudeep.

    Hi,
    if the database is running, start a sqlplus session. You will see in the banner something like '64Bit Production' (for 64-bit) or only 'Production' for 32-bit. Alternatively, especially if the database is not running, go to $ORACLE_HOME/bin and type 'file oracle'. The returning strings shows either 32-bit or 64-bit.
    Best regards
    Werner

  • Direct Draw problems on T61 w/ Vista x64

    Has anyone had problems with applications that use directdraw on a T61 with 64bit windows?  There were a couple applications i tried running (diablo II amongst others) that fail to launch, saying the video mode is unavailable.  I ended up just using a virtual machine with x86 XP to solve the problem, but i'd rather not have to.
    T61 15.4" T9300 (2.5GHz 6MB L2) Windows 7 Professional x64 4GB Memory, NVidia Quadro NVS 140M

    Hello,
    I have been battling this similar issue for a few months on two T500's that we have with the switchable graphics. While I dont have a WD MyBook, I do have a USB hub attached to the dock with a Maxtor ext. HDD hooked to that (althought I use it for my Rescue & Recovery auto backups) I will try disconnecting that.
    I do get the BSOD on atikmpag.sys. 3 calls to lenovo support and they still tell me no fix. These machines were announced in August 2008 and its almost 2009 with no fix.
    I am beginning to wonder if its my KVM switch causing the crash for the video driver, but it even fails when I am not switching between PC's.
    Let me know if you have any other thoughts please!!!
    Thanks in advance,
    Brian G.
    T430s (current), T420s, ThinkStation S20

  • How to populate a page with images in across/down direction?

    Hi,
    Does anyone know how to populate a page with images in across and down direction (for example 6 X 6 )? It seems that I cannot use data table because records are only running downward and each row can have one record.
    Any suggestion would be appreciated. thanks.

    Alex,
    You can create your own tabular form using APEX_ITEM API's
    Create report and you can put similar code to following
    SELECT APEX_ITEM.TEXT(1,col1) pk1, APEX_ITEM.TEXT(2,col2) pk2 FROM your_tableSo data will be displayed in TEXT boxes as if it's a tabular form. Now you need to handle INSERT/UPDATE/DELETE processes manually. You can easily handle INSERT and DELETE. But handling UPDATE can be a nightmare. What if user has updated both the column values?
    Updated details
    One way out would be to use ROWID as Primary key to handle DELETE and UPDATE
    SELECT APEX_ITEM.CHECKBOX(1,ROWID) tick, APEX_ITEM.TEXT(2,col1) pk1, APEX_ITEM.TEXT(3,col2) pk2 FROM your_tablebut yet I suggest to go for proper primary key..
    Regards,
    Hari
    Edited by: Hari_639 on Dec 3, 2009 6:52 PM

  • How can we update procedure in Database Directly

    Hi Experts
    how can we create a stored procedure in a database directly. for example I made a crystal report with a demo databse, then I want to run that report on production database. for that I have to create stored procedure manually. I want that When I run the report It automatically create stored procedure . or other simple way to create stored procedure
    Regards
    Gorge
    Edited by: Gorge Ance on May 13, 2009 8:09 AM

    Hi
    If your field match what you have in demo and production ,all you need to do is run that stored procedure pointing to correct database .So you probable have to change alter to create .
    When you go to sql server , you have a choice to run a query of stored procedure  against the particular dtabase while you use query analyser .
    In crystal report , you have to manually change the datasource and update store procedure.
    Your report will now point to production database and point to correct stored procedure .
    Hope this helps
    Bishal

  • How can I draw on top of an image?

    I'm using a JApplet with three JPanel's inside of it.
    Inside one of those JPanel's I would like to place an image and a button. When the button is clicked, I want to draw an oval on top of the image . Each subsequent time the button is clicked, the oval will move to a different location.
    So here are my questions:
    1) What should I use to draw the image? (a JLabel with an ImageIcon on it?)
    2) Could I simply use g.drawOval() in paintComponent() to directly draw on top of the image/JLabel?
    Any help will be greatly appriciated.

    Here's a sample to study;-import java.awt.*;
    import java.awt.event.*;
    public class DrawOnImage extends java.applet.Applet{
      int xPos, yPos;
      Image img;
      public void init() {
        add(new Label("Hello World") );
        Button press = new Button("press");
        add(press);
        press.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e){
            xPos = (int)(Math.random()*270);
            yPos = (int)(Math.random()*170)+30;
            repaint();
        img = getImage(getDocumentBase(), "anImage.JPG");
      public void paint(Graphics g){
        g.drawImage(img,0,30,this);
        if(yPos>=30)g.fillOval(xPos, yPos, 45, 45);
    }

Maybe you are looking for

  • Save data to a table (In the View method)

    Hi,    I am new to Webdynpro.We have a requirement in BW to update user config tables using webdynpro.I got the retrieve data part working.   Now I am trying to save data back to the table.I got the following code in the save method which will be cal

  • Why can't I import photos saved onto my iphone hard drive onto my computer to delete them off my phone?

    Every time I try to import photos onto iphoto I am only allowed to import photos I have taken on my iphone 5s, but not from my previous phone. I cannot upgrade my phone because I have so many photos on it. I want to delete the photos that were transf

  • Color Laserjet pro MFP M176n control panel not working

    the control panel in the Color Laserjet pro MFP M176n is not working, is all blank, i can´t see anithhing in it. Is there a reset button or should i take it to the store where i buy it for a checkup? thank you

  • Mountain Lion to Mavericks, or to Yosemite?

    I would need to upgrade in order to use some newer imaging program. Given that I use the OS to operate LR and CS6 mainly and use very few Apple programs, but have still some older apps running on my Mac, like Office 2008, MacSpeech Dictate Internatio

  • SPShell access using cmdlet VS. database access

    Hi guys, What's the recommend option to give SharePoint Shell Access for a user? Do I have to use cmdlet or is it safe to also directly give access through SQL management?   For example I first use the cmdlet below to grant access for my user:  Add-S