JNI with Fortran (and C)

Has anyone tried this example:
http://www.csharp.com/javacfort.html
Im having trouble creating the .dll for the
C code and Fortran code in Visual C++.
any ideas?
Thanks.

i did compile the Fortran code with the FORCE compiler (which uses the gnu g77). I just finished installing cygwin so wish me luck in figuring it all out (its a little intimidating).
The problem is linking the CCode.obj with the FortranCode.f in Visual C++.
I agree that using cygwin works but its not very convenient.
(i cant install cygwin at work where i have Visual Studio).
Thanks.

Similar Messages

  • JNI with different versions of jdk

    Hi
    We currently have some JNI code that is running under jdk1.1.8. We are trying to upgrade to jdk1.2.2, and are fidning that the JNI is not working.
    Using jdk 1.2.2 I have re-compiled the Java class with the native methods, re-generated the javah header file, and made sure that the C program includes the right version of jni.h.
    When we try to call a native method that should return a String, it just returns null.
    Can anyone advise me on this - I am at my wits end!
    many thanks
    Lyndsey

    Need a bit more info. I've used JNI with 1.2.2 and it works fine.

  • How to use jni with ervlets

    Hi
    i was trying to do some example with JNI. I can use JNI with standalone Java application but I just cannot figure out how I can use JNI with Servlet.
    Can some one show me a sample code using JNI with Servlets.
    thanks very much

    JNI is done in servlets that same way as other java.
    I suspect your problem is in the environment and perhaps how servlets work. It doesn't have anything to do with JNI itself.

  • I have repeated incompatibility with photoshop and windows 8.1?

    I have repeated incompatibility with photoshop and windows 8.1. I do not have any more money to pay for upgrades. Help

    Here you go
    Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
    x64
    Operating System: Windows 8 64-bit
    Version: 6.2
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE
    Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 2
    Processor speed: 2395 MHz
    Built-in memory: 3911 MB
    Free memory: 1796 MB
    Memory available to Photoshop: 3241 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    OpenCL Unavailable
    OpenGL Version: 2.1
    Video Rect Texture Size: 16384
    OpenGL Memory: 2083 MB
    Video Card Vendor: Intel
    Video Card Renderer: Intel(R) HD Graphics
    Display: 1
    Display Bounds: top=0, left=0, bottom=768, right=1366
    Video Card Number: 1
    Video Card: Intel(R) HD Graphics
    Driver Version: 10.18.10.3379
    Driver Date: 20131218000000.000000-000
    Video Card Driver:
    igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: Intel(R) HD Graphics
    Video Card Memory: 2084 MB
    Serial number: 90970430954145009110
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
    Temporary file path: C:\Users\Laura\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 448.8G, 414.5G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64
    Bit)\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64
    Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       ACE.dll   ACE 2012/06/05-15:16:32   66.507768   66.507768
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0
       AdobeOwl.dll   Adobe Owl 2012/09/10-12:31:21   5.0.4   79.517869
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   7.0.0.1686
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661
    66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661
    66.145661
       adobe_caps.dll   Adobe CAPS   6,0,29,0
       AGM.dll   AGM 2012/06/05-15:16:32   66.507768   66.507768
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib (64 Bit)   6.0.0.75 (BuildVersion: 6.0; BuildDate:
    Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/06/05-15:16:32   66.507768   66.507768
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830
    66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/06/05-15:16:32   66.507768   66.507768
       BIBUtils.dll   BIBUtils 2012/06/05-15:16:32   66.507768   66.507768
       boost_date_time.dll   DVA Product   6.0.0
       boost_signals.dll   DVA Product   6.0.0
       boost_system.dll   DVA Product   6.0.0
       boost_threads.dll   DVA Product   6.0.0
       cg.dll   NVIDIA Cg Runtime   3.0.00007
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007
       CIT.dll   Adobe CIT   2.1.0.20577   2.1.0.20577
       CoolType.dll   CoolType 2012/06/05-15:16:32   66.507768   66.507768
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0
       dvacore.dll   DVA Product   6.0.0
       dvamarshal.dll   DVA Product   6.0.0
       dvamediatypes.dll   DVA Product   6.0.0
       dvaplayer.dll   DVA Product   6.0.0
       dvatransport.dll   DVA Product   6.0.0
       dvaunittesting.dll   DVA Product   6.0.0
       dynamiclink.dll   DVA Product   6.0.0
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082
    66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433
    66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode
    2011/11/15-16:30:22    Build gtlib_3.0.16615
       icudt40.dll   International Components for Unicode
    2011/11/15-16:30:22    Build gtlib_3.0.16615
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r)
    Fortran Compiler   12.0
       LogSession.dll   LogSession   2.1.2.1681
       mediacoreif.dll   DVA Product   6.0.0
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.8428
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.8428
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.8428
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1
       pdfsettings.dll   Adobe PDFSettings   1.04
       Photoshop.dll   Adobe Photoshop CS6   CS6
       Plugin.dll   Adobe Photoshop CS6   CS6
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)
    3.0.0.383
       PSArt.dll   Adobe Photoshop CS6   CS6
       PSViews.dll   Adobe Photoshop CS6   CS6
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082
    66.490082
       svml_dispmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r)
    Fortran Compiler   12.0
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010,
    0406
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0,
    2010, 0406
       updaternotifications.dll   Adobe Updater Notifications Library
    6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build
    0.17112   0.17112
    Required plug-ins:
       3D Studio 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       Angled Strokes 13.0
       Average 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Bas Relief 13.0
       BMP 13.0
       Camera Raw 8.3
       Camera Raw Filter 8.3
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Collada 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.1.2 (13.1.2 20130105.r.224
    2013/01/05:23:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Dicom 13.0
       Difference Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Embed Watermark 4.0
       Entropy 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Extrude 13.0
       FastCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Flash 3D 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Google Earth 4 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Kurtosis 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Maximum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Mean 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Measurement Core 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Median 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Mezzotint 13.0
       Minimum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       MMXCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Photocopy 13.0
       Photoshop 3D Engine 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Picture Package Filter 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Pinch 13.0
       Pixar 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Range 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.1.2
       Shear 13.0
       Skewness 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Standard Deviation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       STL 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Sumi-e 13.0
       Summation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       Underpainting 13.0
       Vanishing Point 13.0
       Variance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Variations 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       Wavefront|OBJ 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       WIA Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       Wind 13.0
       Wireless Bitmap 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
       ZigZag 13.0
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

  • RE: Interacting  with FORTRAN code

    Hi all,
    I am currently working on some stuff which is written in FORTRAN and I need to put a GUI for that code. I want to know how to do it, I think I would need to use JNI and also I need to use JIT( as the program would run based on the user input). Am i in the right direction ? can someone give any guidelines as to how to do it. I have seen some of JNI documentation and all it mentions is about C,C++, assembly isnt FORTRAN supported ?
    Thank you
    amarsh

    This link could help:
    http://www.math.ucla.edu/~anderson/JAVAclass/JavaInterface/JavaInterface.html

  • Can I use JNI with C#?

    Hi,
    I read many tutorials about using JNI with C or C++. Now, I wonder if actually JNI can also be used with C#? I have my machine installed with C# and Java. I really wanna learn about JNI but don't think to install C or C++.
    If it's possible, can someone provide me some examples?
    Regards,

    I think you would need to write a JNI bridge in C++ that would call your C# code. If your C# code is exposed in .Net web services you could use that avenue instead.

  • Fortran and mac

    Hi, I don't have much programming experience, I only know python now, all I can do is type "python" in terminal and write.
    Fortran doesn't work this way. I've downloaded gfortran-4.2.3, gfortran-snwleo-intel-bin, and gfortran-macosx-x86. but nothing happens after I open the installation package.
    Can someone give me step-by-step instructions on how to code in Fortran, assuming all I know is the language.
    Thanks

    FORTRAN is not even close to Python. FORTRAN started in the days of 80 Column punched cards, and is mostly used in Scientific computing.
    I do not know why you want to play with FORTRAN, but unless it is essential for work, I would suggest you consider C. C is only a little younger than FORTRAN, however, C is still widely used.
    The only Apple forums that might have someone with a FORTRAN clue would be:
    Developer <http://discussions.apple.com/forum.jspa?forumID=727>
    Software Development 101 <http://discussions.apple.com/forum.jspa?forumID=728>
    Unix <http://discussions.apple.com/forum.jspa?forumID=735>

  • Is there a way to create a year at a glance with detail and print?

    Is there a way to create a year at a glance with detail and print?

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • I've just found that three movies I've bought from iTunes on on my iPad are not showing up on Apple TV or anywhere other than that iPad.  What's up with that and will I lose these films if I reset this iPad?

    I've just found that three movies I've bought from iTunes on on my iPad are not showing up on Apple TV or anywhere other than that iPad.  What's up with that and will I lose these films if I reset this iPad?

    Thanks.  The reason this has become an issue is that I recently bought a new Macbook Air that the iPad is not synced to.  The one is was synced to was stolen.  If I want to sync this iPad to the new Air, won't it be wiped before I'm able to copy these films or am I wrong about that?

  • Problem with xfce and/or mouse and keyboard

    Hi!
    Two days ago I've turned on my laptop with Arch and the display manager Slim has frozen immediately. Later on Single-User mode I've uninstalled it. Now in normal mode when I type "startxfce4" everything is showing up, but the mouse and keyboard don't work. I know it's not frozen, because animation of mouse and CPU Frequency Monitor is on.
    Strange fact is that laptop is not connecting with the Internet, so now I don't know where the problem is.
    It's happening when I start xfce both from user and super user.
    Just before those troubles I've updated everything with "pacman -Syu", but I haven't seen anything strange. Also the computer could have been roughly turned off (by unplugging power supply), when was turning on.
    Thanks,
    Gaba

    Sorry for not replying, but I didn't have access to my laptop by this time.
    On grub I have only normal mode and 'fallback' mode, so I have result from 'journalctl' from normal mode.
    I'm sending the fragment of this file where you can see everything after I typed 'startxfce4' in console:
    http://codepad.org/8pYIj8qC
    I see that something is wrong, but after some attempts I don't know how to fix this ^^
    Edit:
    Oh, I forgot to write, that I've tried activate some drivers from 'lspci -k' (there were no "Kernel driver in use:..." in almost every device), but it didn't fi anything.
    Last edited by gargoyle (2015-03-15 23:20:18)

  • Problem with JFrame and busy/wait Cursor

    Hi -- I'm trying to set a JFrame's cursor to be the busy cursor,
    for the duration of some operation (usually just a few seconds).
    I can get it to work in some situations, but not others.
    Timing does seem to be an issue.
    There are thousands of posts on the BugParade, but
    in general Sun indicates this is not a bug. I just need
    a work-around.
    I've written a test program below to demonstrate the problem.
    I have the problem on Solaris, running with both J2SE 1.3 and 1.4.
    I have not tested on Windows yet.
    When you run the following code, three JFrames will be opened,
    each with the same 5 buttons. The first "F1" listens to its own
    buttons, and works fine. The other two (F2 and F3) listen
    to each other's buttons.
    The "BUSY" button simply sets the cursor on its listener
    to the busy cursor. The "DONE" button sets it to the
    default cursor. These work fine.
    The "SLEEP" button sets the cursor, sleeps for 3 seconds,
    and sets it back. This does not work.
    The "INVOKE LATER" button does the same thing,
    except is uses invokeLater to sleep and set the
    cursor back. This also does not work.
    The "DELAY" button sleeps for 3 seconds (giving you
    time to move the mouse into the other (listerner's)
    window, and then it behaves just like the "SLEEP"
    button. This works.
    Any ideas would be appreciated, thanks.
    -J
    import java.awt.BorderLayout;
    import java.awt.Cursor;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class BusyFrameTest implements ActionListener
    private static Cursor busy = Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR);
    private static Cursor done = Cursor.getDefaultCursor();
    JFrame frame;
    JButton[] buttons;
    public BusyFrameTest (String title)
    frame = new JFrame (title);
    buttons = new JButton[5];
    buttons[0] = new JButton ("BUSY");
    buttons[1] = new JButton ("DONE");
    buttons[2] = new JButton ("SLEEP");
    buttons[3] = new JButton ("INVOKE LATER");
    buttons[4] = new JButton ("DELAY");
    JPanel buttonPanel = new JPanel();
    for (int i = 0; i < buttons.length; i++)
    buttonPanel.add (buttons);
    frame.getContentPane().add (buttonPanel);
    frame.pack();
    frame.setVisible (true);
    public void addListeners (ActionListener listener)
    for (int i = 0; i < buttons.length; i++)
    buttons[i].addActionListener (listener);
    public void actionPerformed (ActionEvent e)
    System.out.print (frame.getTitle() + ": " + e.getActionCommand());
    if (e.getActionCommand().equals ("BUSY"))
    frame.setCursor (busy);
    else if (e.getActionCommand().equals ("DONE"))
    frame.setCursor (done);
    else if (e.getActionCommand().equals ("SLEEP"))
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    else if (e.getActionCommand().equals ("INVOKE LATER"))
    frame.setCursor (busy);
    SwingUtilities.invokeLater (thread);
    else if (e.getActionCommand().equals ("DELAY"))
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    System.out.println();
    Runnable thread = new Runnable()
    public void run()
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.println (" finished");
    public static void main (String[] args)
    BusyFrameTest f1 = new BusyFrameTest ("F1");
    f1.addListeners (f1);
    BusyFrameTest f2 = new BusyFrameTest ("F2");
    BusyFrameTest f3 = new BusyFrameTest ("F3");
    f2.addListeners (f3); // 2 listens to 3
    f3.addListeners (f2); // 3 listens to 2

    I've had the same problems with cursors and repaints in a swing application, and I was thinking of if I could use invokeLater, but I never got that far with it.
    I still believe you would need a thread for the time consuming task, and that invokeLater is something you only need to use in a thread different from the event thread.

  • Problem with installing and running some applications or drivers

    When installing and installing some items, towards the end of the installation I get this message:
    /System/Library/Extensions/comcy_driver_USBDevice.kext
    *was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update*
    The end result is that some things do not seem to work properly, such as my HP printer. Would anybody have any ideas on how to fix this problem?

    Thank you for your response. Originally, I had a problem with Airport and ended up reinstalling Snow Leopard. Since then, when downloading upgrades etc, such as HP printer drivers, iTunes etc., towards the end of the download when its running the script, I get this message: /System/Library/Extensions/comcy_driver_USBDevice.kext
    +was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update+
    Sometimes, the download hangs and is unable to complete. The main problem I've encountered so far with an application is when I use the printer to scan an image via Preview, it's blank: there's nothing there.

  • Customer/Vendor A/C with line item details and with opening and closing Bal

    Dear Sir / Madam,
    Is it possible to have a customer and / or vendor Sub-Ledger account-
    with line item details and with opening and closing balance detail
    for a particular period.?
    Regards
    Chirag Shah
    I thank for the given below thread which has solved the same problem for G/L Account
    Re: Report to get the ledger printout with opening balances

    Hello Srinujalleda,
    Thanks for your precious time.
    I tried the referred T-Code
    But this report is not showing Opening balance, closing balance detail.
    It only gives transactions during the specified posting period and total of it.
    Please guide me further in case if I need to give proper input at selection screen or elsewhere.
    Client Requires Report in a fashion
    Opening Balance as on Date
    + / -  Transactions during the period
    = Closing Balance as on date
    As that of appearing for G/L Account by S_ALR_87012311
    Thanks once again & Regards
    Chirag Shah

  • Customer Statement with opening and closing balances

    Dear Forum,
    The users want to generate the Customer Statement with opening and closing balances like the traditional one. The statement now generated gives the list of all open items as on date, but the users want the statement with opening balances as on the date of the begining of the range specified and the closing balance at the end of the period for which the statement is generated. Is there a way to generate the same from the system.
    Thanks for the help.
    Regards,

    Hi,
    SPRO> Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Line Items > Correspondence > Make and Check Settings for Correspondence
    You can use the program RFKORD10 with correspondance type SAP06 for your company code
    This program prints account statements and open items lists for customers and vendors in letter form. For account statements, all postings between two key dates, as well as the opening and closing balance, are listed.
    Regards,
    Gaurav

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

Maybe you are looking for

  • Problem in installing a new DDR RAM on my board MSI 915GLM-V

    Hi, I have a System whose configuration is as follows Mainboard:MSI 915GLM-V Processor: Intel P4 3.06Mhz(533 FSB) Bios :Award V3.3 Memory: 256MB(64*4) DDR RAM in one DIMM slot(333 Mhz). I wanted to increase the memory to 512 MB and hence bought a new

  • 13inch VS 15inch For College

    Ok guys so I am going to college soon and I dont know what Mac I should get... This is going to be my first mac. This is my preference: Macbook Pro 13inch: 2280$ after tax and student discount dual core i7 512GB hard drive 16GB RAM Macbook Pro 15inch

  • Only first page of pdfs will display in Reader for iPad?

    When I attempt to open some (not all) pdf files, only the first page of the document will display. The remaining pages show up blank, with the top toolbar also not displayed. These files are downloaded from my university's Blackboard app, with some w

  • ORA-600 in standby alert log

    We have recently migrated our database from Solaris to Linux (RHEL5) and since this migration we are seeing weird errors related to archive log shipping to the remote standby site and a corresponding ORA-600 in the standby site. What's interesting is

  • How to you "publish" Bonjour Shared printers using Workgroup Manager?

    Dear Friends, Hello. We have just spend considerable time setting up Mac OS X 10.6.4 server to host some printers to our Mac clients (previously we had used a Windows print server but it was too slow and inflexible). We have the printers we need set-