background preloader


Facebook Twitter

Java Tip 66: Control browsers from your Java application. It's great that Java applets and browsers are so tightly integrated, but what if you want to have your Java application display a URL?

Java Tip 66: Control browsers from your Java application

There's no API call in any Java package that can help you with that. However, using the exec() command, you can fork a process and issue a command to the underlying OS. The only problem is figuring out just which command needs to be issued to control the browsers on each platform. On Unix, for Netscape, it was easy to figure this out as you only need to type "netscape -help". If Netscape is already running, the command is this: netscape -remote openURL( And, if the browser is not already running, you type: netscape Under Windows, it took much exploration and a bit of luck to find something equivalent that wouldn't open a new browser windows for each request. Follow-up tips From Ryan Stevens: For Mac users, here's an easy way to open a Web page in the default browser, usi ng MRJ 2.2: From Mark Weakly: The BrowserControl code BrowserControl.displayURL(" Conclusion. Unraveling Java Technology Terminology. Packaging and Deploying Desktop Java Applications.

Contributed by Max Sauer and maintained by Patrick Keegan One question that a lot of beginning programmers have is: "Now that I've created my application in the IDE, how do I get it to work from the command line outside of the IDE.

Packaging and Deploying Desktop Java Applications

" Similarly, someone might ask, "How do I distribute this application to other users without having to give them the whole IDE as well? " The answers to these questions are relatively simple, but not necessarily obvious. This document addresses those questions by taking you through the basics of using NetBeans IDE to prepare your applications for distribution and then deploying those applications. In addition, this document provides information that you might need to configure your system (or which you might need to pass on to the users of your application). Double-clicking the application's Java Archive (JAR) file. Along the way, we will cover some basics of JAR file structure and how JAR files are dealt with inside IDE projects. $ unzip #! Java GUI Applications Learning Trail - NetBeans Tutorials, Guides and Articles.

Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials) Learn Java for Android Development: Introduction to Java. Java programming source code. Learn Java by Examples. Introduction to Java programming, Part 1: Java language basics. Before you begin Find out what to expect from this tutorial and how to get the most out of it.

Introduction to Java programming, Part 1: Java language basics

About this tutorial. jQuery Mobile.


Java. 8 Free Sites to Learn Java Online. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible.

8 Free Sites to Learn Java Online

It is intended to let application developers “write once, run anywhere.” Java is currently one of the most popular programming languages in use, particularly for client-server web applications. And knowing Java can be a lucrative skill to possess in the current computer-and-Internet-focused marketplace. 1. provides with a wide variety of Java examples, organized by topics. 2. 3. 4. 5. 6. 7. 8. The Java™ Tutorials. The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications.

The Java™ Tutorials

They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails". The Java Tutorials primarily describe features in Java SE 8. For best results, download JDK 8. New to Java Programming Center.

Java Basics offers a quick overview and the steps to create a 'Hello, World' program.

New to Java Programming Center

Get Started provides the resources needed to develop applications with Java technologies Training includes courses, certifications and package information Connect with the millions of existing Java professionals via conferences, blogs and more. Young Developers covers online resources to learn Java application development at any age, as well as a tutorial about Minecraft mods and Java What's New! JavaOne 2014 Sessions Replay Available Virtual Technology Summit on Demand Java The Complete Reference, by Herbert Schildt (Free Sample) 20% discount on the latest Java Books from Oracle Press Oracle's Java Magazine features The Internet of Things Save 50% on NEW Java ebooks from O’Reilly Media.

Use CRC Press discount code KVM37 for a 20% discount off book purchases. An array is a ____________ of variables of the same type, referred to through a common name. Click here for the answer. Technology Network for Java Developers. SQL, PL/SQL, and Java. In Oracle, SQL, PL/SQL, XML, and Java all interoperate seamlessly in a way that allows developers to mix-and-match the most relevant features of each language.

SQL, PL/SQL, and Java

SQL and PL/SQL form the core of Oracle's application development stack. Not only do most enterprise back-ends run SQL, but Web applications accessing databases do so using SQL (wrappered by Java classes as JDBC), Enterprise Application Integration applications generate XML from SQL queries, and content-repositories are built on top of SQL tables. It is a simple, widely understood, unified data model. It is used standalone in many applications, but it is also invoked indirectly from Java (JDBC), Oracle Call Interface (dynamic SQL), and XML (XML SQL Utility). Overview of PL/SQL PL/SQL is Oracle's procedural language extension to SQL. PL/SQL enables you to mix SQL statements with procedural constructs. An anonymous block is a PL/SQL block that appears in your application and is not named or stored in the database.