Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures

Home

Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips

Books

Submit News
Search the site here...
Search...
 
Search the JavaFAQ.nu
1000 Java Tips ebook

1000 Java Tips - Click here for the high resolution copy!1000 Java Tips - Click here for the high resolution copy!

Java Screensaver, take it here

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java programming articles and tips. Please take your copy here.

Take your copy of free "Java Technology Screensaver"!.

Java Newsletters Archive: 176

JavaFAQ Home » Java Newsletters Go to all tips in Java Newsletters


Bookmark and Share

=== [ The Java FAQ Daily Tips, weekly publication ] ===

Issue No: 176 24 July 2003
13770 subscribers

Foreword: Excuse me for possible mistakes. English is not native language for me.

In this issue:
  • 1. I was testing the new J2RE 1.4.2 for compatibility with our programs...
  • 2. Can I use system provided random numbers generators when I run my Java program on Windows?
  • 3. Latest posts on our message board
  • 4. Link to Java FAQ

  • Hello dear friends!

    Tip 1

    Question: I was testing the new J2RE 1.4.2 for compatibility with our programs (written on Java 1.2.2 version) and found that the Installation of the J2RE on Windows has changed, with impact on the supported locales...

    Answer: Yes, you are right. this is written in release notes for J2RE 1.4.2:
    There now is a single installer, which by default installs a runtime with support for European languages if the Windows host system only supports such languages, or a runtime with support for all languages if the Windows host system supports at least one non-European language. Users can request installation of additional languages in a custom setup. For complete information on which locales and encodings are supported with which installation, see:

    the Supported Locales
    http://java.sun.com/j2se/1.4.2/docs/guide/intl/locale.doc.html

    and Supported Encodings documents
    http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html

    Are there corrupt files lurking inside your computer just waiting to
    cause harmful destruction? How would you know? Don't let the peaceful
    operation of your PC (maybe it's not that peaceful!) give you a false
    sense of security -- you'd be simply astonished at the number of
    unnecessary files cluttering up and bogging down your computer right
    this instant!
    Eliminate these "time bomb" files instantly and keep your computer
    error-free 24 hours a day!

    Get yours today at:
    http://mocda1.com/1/c/52983/80158/286363/286363


    Tip 2

    Question: Can I use system provided random numbers generators when I run my Java program on Windows? Not that that provided by SUN?

    Answer: The Sun SecureRandom implementation now also makes use of an operating system-provided entropy source on Windows platforms, which can improve the startup time of cryptographic applications considerably. Edit the <java.home>/lib/security/java.security to control this feature.


    Latest posts on our message board
    Getting Java to work in OS 9 - is this possible?

    My site is not up yet but there is another that uses a similar code:
    www.angelofjoy.com if you want to view it.

    I know that OS X is fully Java compatible, and that if it is not there are downloads available, but is this the case for OS 9?

    Please help me as I really want to be able to use Java and Javascript on my site!
    please help here...

    Frame speed

    I'm making a 2d game with Java2D. But i'm only getting 14 frames per second, how can I speed up image-drawing performance?
    please help here...

    Policy File Troubles

    I have an unsigned Applet which I need to grant permissions to in the policy file. The permissions I grant work fine, until I change the codebase. If i have it set to <all> then the applet runs perfectly, If I have it set to "file:/C:/ILO/*" Then it errors with a access denied (java.net.SocketPermission.... Error.

    all of the .class files are located in the C:ILO folder, any ideas on why the codebase path wouldn't work. I really dont want to give all applets the same permissions as this one, as it also reads and writes files.

    any ideas would be appreciated
    -tblank
    please help here

    FileSystemView

    Hi,
    I' ve noticed that when i search for a file in JFileChooser i can see views like My Computer, My Network Places etc and select them.
    I have my own file browser, but i can't take these views. I know that the problem is FileSystemView or WindowsFileSystemView but -till now- i didn't find any way to use these classes.
    Does anybody has any idea?
    Thanks.
    please help here

    Java noob question

    I have an html page....that is used only to launch the following javascript (which spawns another html page - brochure.html).

    heres the HTML:
    continues here...

    help with JPanels

    i have a JPanel with a picture in the middle and two JButtons at the bottom. One JButton changes the background color and the other one draws a circle around it. I have made two classes extending JPanel, one adds an image and listens for color change button. the other class draws the shape but the problem is that both the image and the shape have to be in the center of the frame. When i try to add shape panel to frame it overwrites the image panel. how can i show the image panel and shape panel at the same time and in the middle.
    many thanks!
    please help here...


     Printer Friendly Page  Printer Friendly Page
     Send to a Friend  Send to a Friend

    .. Bookmark and Share

    Search here again if you need more info!
    Custom Search



    Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

    RSS feed Java FAQ RSS feed Java FAQ News     

        RSS feed Java Forums RSS feed Java Forums

    All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

    Interactive software released under GNU GPL, Code Credits, Privacy Policy