Question by : How to use java programs that use other java programs in a website?
I have a java applet that uses another java program for objects and methods. How can I put the java applet into a website and also use the other program?

(the applet appears but does not successfully work without the other program) (both programs are java programs I have written).

Best answer:

Answer by Reedo
When you ‘compile’ it, it will all be taken care of

What do you think? Answer below!

Beginning Java 7 (Beginning Apress)

Beginning Java 7 (Beginning Apress)

Beginning Java 7 guides you through this language and a huge assortment of platform APIs according to the following table of contents:

Chapter  1: Getting Started with Java
Chapter  2: Discovering Classes and Objects
Chapter  3: Exploring Advanced Language Features
Chapter  4: Touring Language APIs
Chapter  5: Collecting Objects
Chapter  6: Touring Additional Utility APIs
Chapter  7: Creating and Enriching Graphical User Interfaces

List Price: $ 39.99

Price: $ 31.35

Find More Java Products

Java EE 6 Development with NetBeans 7

The book is a practical guide explaining the various features of the NetBeans IDE related to enterprise application development. The book is aimed at Java developers who wish to develop Java EE applications while taking advantage of NetBeans functionality to automate repetitive tasks and to ease their software development efforts. Familiarity with NetBeans or Java EE is not assumed.

List Price: $ 49.99

Price: $ 42.80

Related Java Products

Java 7 for Absolute Beginners (For Absolute Beginners Apress)

Java 7 Programming for Absolute Beginners introduces the new core, open source Java Development Kit. Its focus is on practical knowledge and its completeness—it provides all the bits and pieces an utter novice needs to get started programming in Java.  

It seems as if everyone is writing applications or apps these days for Android, BlackBerry, and the enterprise—it’s where the money’s at. But, how do they do it? Well, it’s best to start by learning Java, one of the

List Price: $ 39.99

Price: $ 21.99

Find More Java Products

Question by James: How to open Java applet in browser instead of new window on Macbook?
Hey

Sometimes when I use Java things online, instead of the java running in the browser window, it opens a new window called ‘Java Applet’. This has happened in both safari and google chrome. I was wondering how I could run it in the window. Java is enabled.

Best answer:

Answer by Alice
yes.

What do you think? Answer below!

Question by Alex: Using semaphores in Java? How can I make threads run at different frequencies to one another?
I have three different threads running in my Java program. One prints “1″, another “2″, and the last “3″. I need to make the “1″s and “2″s print less frequently than the “3″, using semaphores, but I’m very stuck. Any ideas?

Best answer:

Answer by McFate
You could wait on one semaphone between all three threads, and then:

(1) Print “3″ every time you get the semaphore in the “3″ thread
(2) Print “1″ only every second or third time you get the semaphore in the “1″ thread

Add your own answer in the comments!

Effective Java: Programming Language Guide (Java Series)

(Pearson Education) Working solutions to programming challenges faced by Java developers on a daily basis, revealing what to do to produce clear, robust and efficient code. Include rules in short essay form, and the author’s ‘war stories,’ giving advice and insights into nuances of the language. Softcover. Written for the working Java developer, Joshua Bloch’s Effective Java Programming Language Guide provides a truly useful set of over 50 best practices and tips for writing better Java

List Price: $ 54.99

Price: $ 17.70

Murach’s Java Programming

Murach’s Java Programming

Developers often tell me they wish they’d found our Java book first, before spending time and money on others. Here are a few of the reasons why I believe this book will work equally well for you:
• This book teaches the core Java skills that you need to work with objects, graphical user interfaces (GUIs), files, and databases.
• It gives you a fast start! In fact, by the end of chapter 6, you’ll be developing bulletproof Java applications with business classes and objects.
• I

List Price: $ 57.50

Price: $ 36.00

Java Bibliography Reviews

Java Bibliography

In the early 1990s, a team of developers at Sun Microsystems, led by James Gosling, designed and implemented a new computer language: Java. The language was object oriented, was compiled into an intermediate form called Java Bytecode, and those bytecode instructions were run on a virtual machine called the Java VM. Java, at the time, was a revolution in itself. It quickly became the language of a new generation of software developers who were writing small applications for the web, server applic

List Price: $ 0.99

Price:

Find More Java Products

What’s New in Java 7?

What’s New in Java 7?

Java 7 has a number of features that will please developers. Madhusudhan Konda provides an overview of these, including strings in switch statements, multi-catch exception handling, try-with-resource statements, the new File System API, extensions of the JVM, support for dynamically-typed languages, and the fork and join framework for task parallelism.Java 7 has a number of features that will please developers. Madhusudhan Konda provides an overview of these, including strings in switch statemen

List Price: $ 0.99

Price: