Reputation: 163
I want to make a java widget like RSS Feed Reader or Whether Forecast in java. If I use swing, I don't get the look and feel of modern widgets. I would like to make it graphically attractive. What should I do to make such widget for windows with modern looks ? And Also How do i integrate it in windows so as to start that widget at Windows startup ? Any Help is highly appreciated.
Upvotes: 0
Views: 2480
Reputation: 15333
In case of Swings you can choose to give it Windows Like Look and Feel, Like this
try{
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch(Exception e){}
It is a good practice to make frames and other components look like Windows one.
Upvotes: 0
Reputation: 109813
I think that Swing is simple great, because allows to change
Upvotes: 1
Reputation: 19177
If you want it to look like those windows widgets, look for different look and feels and use undecorated windows.
If you want to write an actual widget that could be installed among other widgets, take a look at how others are implemented - it is a simple html page with javascript or vbscript - anything that could be rendered in IE.
Upvotes: 1