java

Java 6u10 with many features

Java Kernel

Java Kernel is a new distribution aimed at getting Java software up and running faster. Instead of a full JRE, users download a small installer (the “kernel”) which includes the most commonly needed JRE components. Additional components are downloaded as needed, and the JRE will download remaining components in the background and then reassemble itself.

More information about Java Kernel can be found in the 6u10 FAQ.

Java Plug-in

Java SE 6u10 includes a brand-new implementation of the Java Plug-in, which is used by default as long as you are using Firefox 3 or Internet Explorer. The next-generation plug-in runs applets outside of the browser in one or more separate processes. Applets still appear inside of the web browser window as they always have, but this means that it is now possible to use different JRE versions, command-line arguments, and configurations to run different applets. The isolation provided by running the web browser and the JRE — two very large, very complex pieces of software — in separate process spaces improves the reliability of both, and gives applets the same flexibility and control over JRE configurations that other Java software has always enjoyed.

New Plug-In Advantages:

  • Improved reliability
  • Improved JavaScript communication
  • Per-applet control of JRE command-line arguments
  • Per-applet control of JRE memory settings, larger maximum heaps
  • JNLP support
  • Per-applet JRE version selection
  • Improved Vista support

Much more information about the new plug-in can be found in the release notes.

Java Deployment Toolkit

The Java Deployment Toolkit makes deploying Java applets or Java Web Start programs a snap. The Deployment Toolkit JavaScript file provides:

  • Accurate detection of installed JREs
  • Seamless JRE installation
  • Complete applet launching (JRE detection and, if necessary, upgrading) in a single line of code
  • Complete Web Start program launching in a single line of code

The following HTML code is all it takes to ensure that Java 1.6 is installed and then a Java applet is launched:

<script src="http://java.com/js/deployJava.js"></script>
    
<script>
  deployJava.runApplet({codebase:"http://www.example.com/applets/",
     archive:"ExampleApplet.jar", code:"Main.class",
     width:"320", Height:"400"}, null, "1.6");
</script>

More documentation about the deployment toolkit can be found here.

Nimbus Look and Feel

Metal look and feel for Swing was the only competition for the Windows 95 interface in Java. Given the state of graphical user interfaces a decade ago, Metal was an attractive and elegant alternative to the other common interfaces of the time.

The updated Ocean theme in Java SE 5 helped to keep Metal a viable choice up to the present day, but it’s time for Swing’s cross-platform look and feel to get an overhaul.

Enter the Nimbus Look and Feel. A brand new, modern look and feel based on Synth, Nimbus provides a polished look to applications which choose to use it. And because Nimbus is drawn entirely using Java 2D vector graphics, rather than static bitmaps, it’s tiny (only 56KB!) and can be rendered at arbitrary resolutions.

Swing in Metal

Swing in Nimbus

For compatibility reasons, Metal is still the default Swing look and feel, but updating applications to use Nimbus couldn’t be simpler. It only takes a single line of code:

UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");

You can also force Nimbus to be the default look and feel by specifying -Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel on the command line. A more permanent way to set the property is to add

swing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

to the file <JAVA_HOME>/lib/swing.properties. You will have to create the swing.properties file if it does not already exist.

For further reading about Nimbus, take a look at the Nimbus early access page.

Standard
general

Windows SE7EN

Windows 7 (formerly known as Blackcomb and Vienna) is the working name for the next major version of Microsoft Windows as the successor of Windows Vista. Microsoft has announced that it is “scoping Windows 7 development to a three-year timeframe”, and that “the specific release date will ultimately be determined by meeting the quality bar.” Windows 7 is expected to be released sometime in 2010. The client versions of Windows 7 will ship in both 32-bit and 64-bit versions.[2] A server variant, codenamed Windows Server 7, is also under development.

Bill Gates suggested that the next version of Windows would “be more user-centric.” That means that right now when you move from one PC to another, you’ve got to install apps on each one, do upgrades on each one. Moving information between them is very painful. We can use Live Services to know what you’re interested in. So even if you drop by a [public] kiosk or somebody else’s PC, we can bring down your home page, your files, your fonts, your favorites and those things. So that’s kind of the user-centric thing that Live Services can enable. [Also,] in Vista, things got a lot better with [digital] ink and speech, but by the next release there will be a much bigger bet. Students won’t need textbooks; they can just use these tablet devices. Parallel computing is pretty important for the next release. We’ll make it so that a lot of the high-level graphics will be just built into the operating system. So we’ve got a pretty good outline.

Windows 7 has reached the Milestone 1 (M1) stage and has been made available to key partners. According to reports sent to TG Daily, the build adds support for systems using multiple heterogeneous graphics cards and a new version of Windows Media Center. New features in Milestone 1 also reportedly include Gadgets being integrated into Windows Explorer, a Gadget for Windows Media Center, the ability to visually pin and unpin items from the Start Menu and Recycle Bin, improved media features, a new XPS Viewer, and the Calculator accessory featuring Programmer and Statistics modes along with unit conversion.

There were a lot abuses and funny postings about Windows error messages displayed which annoy the user. So, finally they have come up with some thing to handle those issues (it seems)…

Source: windows7news.com

Standard
downloads

DExposE2

Today I found a handy tool at tech republic. It’s called DExposeE2 (quite a name, I know). You can switch programs visually using DExposE2. Modeled after Expose in Mac OS X, DExposE2 lets you use the F9, F10, and F11 keys to toggle different views of running programs. F9 minimizes all application windows to fit on your screen. F10 minimizes all windows of a single program to fit on your screen. F11 makes all windows move out of the way to give you access to the desktop. You have several options for activating DExposE2 with hot-keys, mousing to the corner of your screen, or the function keys. There are several more options to configure in the preferences.

Download here

Standard
apis, general

Don’t have a laptop? Try the virtual computer!

K. Ansar and P.P. Ismail, final year computer science students at an engineering college in Kerala India, have set up www.bloxtr.com, the prototype of a virtual computer in which you can store all your important documents, favorite music, colorful pictures and even videos.

The idea is that no one needs to carry a laptop or pen drive around. You can upload any files to the website and access it from any corner of the world. What you need is just an interface to access the internet.

But, is the idea implemented earlier?? I mean in the form of eyeOS. From the site I get:

“eyeOS is an Open Source Platform designed to hold a wide variety of Web Applications over it. eyeOS was thought as a new definition of Operating System, where everything inside it can be accessed from everywhere in a Network. All you need to do is to login into your eyeOS server with a normal Internet Browser, and access your personal desktop, with your applications, documents, music, movies… just like you left it last time.”

With the base system you can find a full suite of applications bundled, some for private use, like the file manager, a word processor, a music player, calendar, and notepad or contacts manager. There are also some groupware applications, such as a group manager, a file sharing application, a group board and many more.

Or is it like the GMail drive??

GMail Drive is a Shell Namespace Extension that creates a virtual filesystem around your Google Mail account, allowing you to use Gmail as a storage medium. (Google has nothing to do with this !)

GMail Drive creates a virtual filesystem on top of your Google Gmail account and enables you to save and retrieve files stored on your Gmail account directly from inside Windows Explorer. GMail Drive literally adds a new drive to your computer under the My Computer folder, where you can create new folders, copy and drag’n’drop files to.

Ever since Google started to offer users a Gmail e-mail account, which includes storage space of 4000 megabytes, you have had plenty of storage space but not a lot to fill it up with. With GMail Drive you can easily copy files to your Google Mail account and retrieve them again.

When you create a new file using GMail Drive, it generates an e-mail and posts it to your account. The e-mail appears in your normal Inbox folder, and the file is attached as an e-mail attachment. GMail Drive periodically checks your mail account (using the Gmail search function) to see if new files have arrived and to rebuild the directory structures. But basically GMail Drive acts as any other hard-drive installed on your computer.

You can copy files to and from the GMail Drive folder simply by using drag’n’drop like you’re used to with the normal Explorer folders.

Whatever it is I think it is novel idea, if implemented well. They are trying to convert this into a mobile application when 3G services become operational in India. The guys (Ismail and Ansar), along with three other classmates, have already won a project from a local software company on behalf of a Gulf-based airline to develop a system to make flight schedule information available on mobile phones. I wish them all best for their projects and of course bloxtr.

Standard