Ubuntu 11.10 – The countdown begins. A whole new world. A whole new computer.

October 1, 2011

Today I want you to tell about the next release of the OS(Operating System) which I boot into every time I turn on my computer. Yes, you all guessed it right (if you haven’t already, here it is), its Ubuntu(Linux). I am currently booting Ubuntu 11.04 (Natty Narwhal) with Unity.

Its next release is Ubuntu 11.10 named Oneiric Ocelot. Its naming was announced on 7 March 2011 by Mark Shuttleworth. He explained that Oneiric means “dreamy”. Ubuntu 11.10 is scheduled for stable release on 13 October 2011.  It will be Canonical’s 15th release of Ubuntu. Its (both Desktop and Server) updates will be supported till April 2013.

To know more please visit Ubuntu’s official website and the wiki page. Ubuntu can be downloaded free from this download page.

The countdown begins herehttp://www.thisisthecountdown.com
“A whole new world. A whole new computer.”


Regards,
Manohar Bhattarai (मनोहर भट्टराई)
http://about.me/manoharbhattarai
http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Blogs:
https://manoharbhattarai.wordpress.com/
http://manoharbhattarai.posterous.com/
http://manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/mhrbhattarai
Identi.ca :- http://identi.ca/manoharbhattarai

How to Create Translucent and Shaped Windows in java.

September 4, 2011

Hi all,

I am back after a long time. This time I want to tell you all how I set a window as translucent in java. It was a very cumbersome thing to do before recently. From JDK 6 update 10, java has this facility to set the window as translucent  and its very easy.

Recently I did this in one of my projects and wanted to share it with you all.

As of the Java Platform, Standard Edition 6 (Java SE 6) Update 10 release, we can add translucent and shaped windows to our Swing applications.

The translucent and shaped window API was first added to the Java SE 6 Update 10 release as a private API. This functionality was moved to the public AWT package in the JDK 7 release.

Here is an example :

import java.awt.*;
import javax.swing.*;
import static java.awt.GraphicsDevice.WindowTranslucency.*;

public class MyWindow extends JFrame {
    public MyWindow() {
        super("MyWindow");
        setLayout(new GridBagLayout());

        setSize(300,200);
        setLocationRelativeTo(null);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        add(new JButton("Just a Button"));
    }

    public static void main(String[] args) {
        // Determine if the GraphicsDevice supports translucency.
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
 GraphicsDevice gd = ge.getDefaultScreenDevice();

        //If translucent windows aren't supported, exit.
        if (!gd.isWindowTranslucencySupported(TRANSLUCENT)) { 
 System.err.println( "Translucency is not supported"); 
 System.exit(0); 
 }

        SwingUtilities.invokeLater(new Runnable() {

            public void run() {
                MyWindow tw = new MyWindow();

		// Set the window to 55% opaque (45% translucent).
                tw.setOpacity(0.55f);

		// Display the window.
		tw.setVisible(true);
	    }
        });
    }
}

To learn more please check this link.

 

Here is how you can select which methods to use according to your JDK version.

 


Regards,
Manohar Bhattarai (मनोहर भट्टराई)
http://about.me/manoharbhattarai
http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Blogs:
https://manoharbhattarai.wordpress.com/
http://manoharbhattarai.posterous.com/
http://manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/mhrbhattarai
Identi.ca :- http://identi.ca/manoharbhattarai

Java SE 7 is officially here.

July 28, 2011

Hi all,

Java SE 7 is officially released today i.e. July 28, 2011(07.28.2011)! After nearly five years of collaboration within the worldwide Java community, Java Platform, Standard Edition is ready for download! It’s an important step in Java’s evolution.

The major features of Java SE 7 are:
•    Project Coin- many small language changes that add up to a big boost in productivity for developers
•    The Fork/Join Framework –  facilitates parallelism for mulit-core processors
•    The New File System API (NIO.2) – provides the ability to perform many basic file system operations natively
•    InvokeDynamic – makes it easier to run other languages on the JVM

To learn more about these features, you can view the technical presentations from Oracle’s global event on July 7.

Download Java Platform, Standard Edition (Java SE) 7 

Here is my previous blog : https://manoharbhattarai.wordpress.com/2011/07/12/java-7-is-here/


Regards,
Manohar Bhattarai (मनोहर भट्टराई)
http://about.me/manoharbhattarai
http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Blogs:
https://manoharbhattarai.wordpress.com/
http://manoharbhattarai.posterous.com/
http://manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/mhrbhattarai
Identi.ca :- http://identi.ca/manoharbhattarai

Java 7 is here.

July 12, 2011

Hi all,

Java 7 (codename Dolphin) is an upcoming major update to Java, releasing on July 28, 2011(07.28.2011). The following links might help you know more about Java 7 :

Webcast on Java 7 : http://www.oracle.com/us/corporate/events/java7/index.html

Wiki on Java 7 : http://wikis.sun.com/display/JDK7/Home

Java se 7 : http://jdk7.java.net/

JDK 7 features : http://openjdk.java.net/projects/jdk7/features/

JDK 7 Java Docs : http://download.java.net/jdk7/docs/api/

I am looking forward to it. So stay tuned.


Regards,
Manohar Bhattarai (मनोहर भट्टराई)
http://about.me/manoharbhattarai
http://www.facebook.com/pages/Manohar-Bhattarai/130973796914160
Blogs:
https://manoharbhattarai.wordpress.com/
http://manoharbhattarai.posterous.com/
http://manoharbhattarai.blogspot.com/
Microblogs:
Twitter :- http://twitter.com/mhrbhattarai
Identi.ca :- http://identi.ca/manoharbhattarai

How to add spring capabilities to Eclipse IDE using SpringSource Tool Suite from the Release Update Site

July 9, 2011

Hi everyone,

I have moved this post to my new blog site. Click here to get to the post.

 

Regards,
Manohar Bhattarai (मनोहर भट्टराई)

Remove question mark and add your own icon to the ubuntu 11.04 natty narwhal unity launcher

June 28, 2011

Hi everyone,

I have moved this post to my new blog site. Click here to get to the post.

Thank you.

Regards,
Manohar Bhattarai (मनोहर भट्टराई)

How to Create an executable JAR file

April 7, 2011

Hi everyone,

I have moved this post to my new blog site. Click here to get to the post.

Thank you.

Regards,
Manohar Bhattarai (मनोहर भट्टराई) 

2010 in review

January 2, 2011

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow.

Crunchy numbers

Featured image

A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 9,400 times in 2010. That’s about 23 full 747s.

 

In 2010, there were 28 new posts, not bad for the first year! There were 20 pictures uploaded, taking up a total of 13mb. That’s about 2 pictures per month.

The busiest day of the year was October 10th with 113 views. The most popular post that day was Ubuntu 10.10 Maverick Meerkat releasing on 10/10/10.

Where did they come from?

The top referring sites in 2010 were anuragbansal.wordpress.com, henneberke.wordpress.com, linux4all.net, google.co.in, and digg.com.

Some visitors came searching, mostly for echofon ubuntu, sudo passwd, sudo passwd root, mozille, and ubuntu chntpw.

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

Ubuntu 10.10 Maverick Meerkat releasing on 10/10/10 October 2010
2 comments

2

How to set different wallpapers on different workspaces in Ubuntu April 2010
3 comments

3

JBoss server unable to start within 50 seconds. How to increase the JBoss server start time. May 2010
12 comments

4

How to rotate or flip your ubuntu desktop upside down May 2010
1 comment

5

Remove Windows password using chntpw in Ubuntu March 2010

 

Regards,
Manohar Bhattarai (मनोहर भट्टराई)

http://manoharbhattarai.com.np/
http://about.me/manoharbhattarai

Happy New Year 2011 to you all

January 2, 2011

Hello everyone,

I wish you all a very very Happy and prosperous New Year 2011.

May God bless everyone and bring peace and happiness to all in this world.

Regards,
Manohar Bhattarai (मनोहर भट्टराई)

http://manoharbhattarai.com.np/
http://about.me/manoharbhattarai 

Add xfce or KDE Desktop environment to ubuntu

November 28, 2010

Hi all,

If you want to add xfce/KDE desktop environment to your Ubuntu(Gnome), that can be done  using following steps-

1. Go to System->Administration->Synaptic Package Manager.

2. Click search and write xubuntu-desktop/kubuntu-desktop and search.

3. Check Mark for installation and then click Apply

This will install xubuntu-desktop/kubuntu-desktop to your Ubuntu system.

To login to xfce or KDE environment change the session on the main Log-on screen.

I have three desktop environments(Gnome(default), xfce and KDE) on my Ubuntu 8.04 system.

Enjoy all environment. 🙂

 

Regards,

Manohar Bhattarai

http://about.me/manoharbhattarai

 


%d bloggers like this: