Import Java.Util in Flex application

Posted on 2007-07-25
Last Modified: 2008-01-09
Can I, And how do I use Java classes in Flex 2?

I wanne use Java.Util.Thread.Sleep() function and when I google it seems to be possible (ex: but how do I import java.util.*

Question by:jimmieandersson
    LVL 22

    Expert Comment


    Author Comment

    are you sure? it didn't seem to be what I was looking for.. thanx anyway
    LVL 23

    Accepted Solution

    You need to use Flex Data Services to use java as what i know u can't import java classes  in to flex.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now