Saturday, September 25, 2010

Spring Rich Client Project(RCP)

The goal of the Spring Rich Client Project (Spring Rich) is to provide a solution for developers that need a platform for constructing high-quality Swing applications quickly.
       To know about Spring RCP more visit the following links

http://www.springsource.org/spring-rcp


http://java.dzone.com/news/spring-rcp-tutorial


http://opensource.atlassian.com/confluence/spring/display/RCP/User+Documentation


http://www.core-dump.ch/stuff/spring-rcp-manual/index.html

Saturday, June 26, 2010

Eclipse 3.5 Galileo Tutorials

If you want to know about Eclipse 3.5 Galileo , and it's important features visit
http://www.vogella.de/eclipse.html .

One of the Javascript Plugin for Eclipse is JSEclipse and through this you can easily develop javascript files in your eclipse IDE.
For JSEclipse Update site   Click Here .

To generate PDF files using Java Programming language we have so many options,but one option is itext.

To know about itext visit the url    http://itextpdf.com/ .
To download all examples related to how to generate different types of pdf files like editable text in pdf
http://itext.svn.sourceforge.net/viewvc/itext/book.tar.gz?view=tar

Request Java Related Jar Files Here

Hi , Request any Jar file related to Java Technology if you are not able to get with in short period,or if you don't want to waste so much time for a jar file,just give complete package with class name  or jar file with what ever details you know and send mail to pavanm.msc@gmail.com with subject as Requesting Jar File,thanks.

Sunday, May 2, 2010

How to Paste Telugu Letters in Ms Word

If you want to paste telugu letters in ms word from some websites like www.eenadu.net,www.sakshi.com and some other newspaper or any telugu content which opened in Internet Explorer(Note : Some fonts in firefox browser does not be able to copy into ms word through this tool what i want to explain) you have to visit
the following url
http://specials.msn.co.in/ilit/Telugu.aspx

To download the required file Click Here
If you want to know about how to use this tool visit the following url
http://specials.msn.co.in/ilit/GettingStarted.aspx?languageName=Telugu&redir=true&postInstall=true#WindowsXP

Wednesday, April 7, 2010

word to pdf converter free download

To convert ms word document file into pdf document we have 1 free software that converts your document into pdf and it supports multiple languages also.

To dowload that software Click Here.

To know about that software visit the following url

http://www.dopdf.com/

Monday, March 29, 2010

Customize Javascript Confirm Box

Main.html
<html>
<head>
<title>
Customized Javascript Confirm Box Example
</title>
<script type="text/javascript">
function doDelete()
{
var returnVal=0;
if(window.showModalDialog)
{
returnVal=window.showModalDialog("YesOrNo.html","name","dialogWidth:455px;dialogHeight:140px");
}
if(returnVal==1)
{
alert("Deletion Succesfully Done");
// write your own functionality here
}
else
{
        alert("Deletion Cancelled");
// write your own functionality here
}
}
</script>
<body>
<font size="5">
<pre>
By clicking the bellow button you can observe customized javascript confirm dialog box
for deleting or some functionality what you require in your application.
                              

                                 <input type="button" value="Delete" onclick="doDelete();" style="font:20px"/>
</font>
</pre>

YesOrNo.html
<html>
<script>
function yesDelete(){
window.returnValue = 1; 
window.close();
return false;
}
function noDelete() {
window.returnValue = 0;  
window.close();
return false;
}
</script>
<body>
<div style="position:relative;left:0px;top:0px;background:#000066;color:#FFFFFF;font-size:20px;font-weight:bold;width:396px;height:25px;padding-left:38px;border-bottom:solid 2px #000000;">Confirm Delete...</div>
<blockquote style="font-size:18px;font-weight:bold;color:#FF0000;margin-top:50px;">Are you sure you wish to Delete this Record?</blockquote>
<div style="width:396px;text-align:center;">
<input type="button" value="    YES    " onclick="yesDelete();"  style="font-weight:bold;margin-right:10px;cursor:pointer;"><input type="button" value="     NO     " style="font-weight:bold;margin-left:10px;cursor:pointer;" onclick="noDelete();">
</div>
</body>
</html>

Both Main.html and YesOrNo.html files should be in the same folder.

Monday, March 22, 2010

GITAMAKARANDAM SPEECHES MP3(SWAMI VIDYAPRAKASHANANDAGIRI)


http://www.4shared.com/file/159142437/38732cb6/01_ARJUNA_VISHADA_YOGAM.html
http://www.4shared.com/file/157509026/b8499d37/02__SANKYA_YOGAM.html
http://www.4shared.com/file/157542710/5dc95c85/03_KARMA_YOGAM.html
http://www.4shared.com/file/157556837/48c5527e/04_GNANA_YOGAM.html
http://www.4shared.com/file/157575439/ce127a93/05_KARMA_SANYASA_YOGAM.html
http://www.4shared.com/file/157588456/78cd8f88/06_ATMA_SAMYAMA_YOGAM.html
http://www.4shared.com/file/157609092/da44f24b/07_VIGNANA_YOGAM.html
http://www.4shared.com/file/158651314/2a4b459/08__AKSHARA_PARA_BRAMHA_YOGAM.html
http://www.4shared.com/file/158677985/f65db6ec/09_RAJA_VIDYA_RAJA_GUHYA_YOGAM.html
http://www.4shared.com/file/158687171/faeba853/10_VIBHUTI_YOGAM.html
http://www.4shared.com/file/158699893/580881fd/11_VISWA_ROOPA_SANDARSHANAM.html
http://www.4shared.com/file/158710651/96095539/12_BHAKTHI_YOGAM.html
http://www.4shared.com/file/158734728/54f4d55a/13_KSETRA_KSHETRA_VIBHAGA_YOGA.html
http://www.4shared.com/file/158755411/33bf12a1/14_GUNATRAYA_VIBHAGAM.html
http://www.4shared.com/file/158768950/9dc6d66d/15_PURUSHOTTAMA_PRAPTI_YOGAM.html
http://www.4shared.com/file/158781895/82e3f632/16_DAIVASURA_SAMPTH_VIBHAGA_YO.html
http://www.4shared.com/file/159050116/27bc8ed7/17_SHABDAHATRAYA_VIBHAGA_YOGAM.html
http://www.4shared.com/file/159118189/9da97585/18_MOKSHA_SANYASA_YOGAM.html

Source : http://telugudevotionalswaranjali.blogspot.com/2009/11/gitamakarandam-speeches-mp3swami.html

Wednesday, March 17, 2010

Basic Servlet Structure

A servlet is a small Java program that runs within a Web server.Servlets receive and respond to requests from Web clients,usually across HTTP, the HyperText Transfer Protocol.

To write a Servlet Class we follow some basic steps.
1.Implement the Servlet interface available in javax.servlet package(javax.servlet.Servlet).
2.The acees speifier for your servlet class must be public.

Syntax:
 public class BasicServlet implements Servlet
 {
                   // Here we have to implement all methods in Servlet inteface.

  }

Methods in Servlet Inteface:

public void init(ServletConfig config) throws ServletException
{

}

By seeing the above method,we easily understand the init(ServletConfig config) always throws ServletException.So we have to handle when we implement our own Servlet class.

An Example to Implement init(ServletConfig config) method with some different syntax
Ex 1:
import javax.servlet.*;
public class SampleServlet implements Servlet
{
       public void init(ServletConfig config)
       {
                  try
                 {
                         //your code

                  }
                  catch(ServletException se)  { se.printStackTrace(); }
        }

// implement remaining all methods availabe in Servelt interface with some code to properly compile the java file
}

Ex 2:
import javax.servlet.*;
public class SampleServlet implements Servlet

{
       public void init(ServletConfig config) throws ServletException
       {

                    // your code
       }
// implement remaining all methods availabe in Servelt interface with some code to properly compile the java file

}

By seeing the above two examples,it is clear that when ever we write init(ServletConfig config) method ,it is not necessary to declare throws ServletException for inti(ServletConfig config) method.
    For informing the ServeltContainer to say initilization failed we are throwing ServletException to not to put  Servelt Object in service,instead of explicity handling ServletException using try/catch blocks.If we are handling exception explicity how to inform the container about init() fail.Is there any solution in this case.Think your self.

Monday, March 15, 2010

Software Jobs

visit the following links to know about the software jobs
1   http://www.javaken.com/
2.  http://www.presentjobs.com/
3.  http://www.jobconsultancy.com/

Disable Mouse Right Click in IE ,Firefox & Google Chrome

<script type="text/javascript">
<!-- Disable Right Click in IE & Firefox -->
var message="";


function clickIE()

{if (document.all)
{(message);return false;}}

function clickNS(e) {
if
(document.layers||(document.getElementById&&!document.all))
{
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.  onmousedown=clickNS;}
else
{document.onmouseup=clickNS;document.oncontextmenu  =clickIE;}

document.oncontextmenu=new Function("return false")
</script>

Sunday, March 7, 2010

javascript email validation example

This is the customized javascript email validation , based upon your requirement,you can be able to customize the validation with simple code.

function ValEmailId(arg)
{
    var email=arg;     
    var f=0;
      if (! allValidChars(email)) { 
    f=1;
      }    
      else if (email.indexOf(".") < 1)  { 
       f=1;
      }
      else if (email.indexOf("_") < 1 && email.indexOf("_")!=-1) { 
       f=1;              
      }
      else if (email.indexOf("-") < 1 && email.indexOf("-")!=-1) {
       f=1;
      }
      else if (email.indexOf("@") < 1) {
       f=1;
      }
      else if (email.indexOf(".@")>=0 || email.indexOf("_@")>=0 || email.indexOf("-@")>=0 ||  email.indexOf("@@")>=0 || email.indexOf("--")>=0 || email.indexOf("__")>=0 || email.indexOf("-_")>=0 || email.indexOf("_-")>=0) {
           f=1;
       }
      else if(email.indexOf("@.")>=0 || email.indexOf("@_")>=0 || email.indexOf("@-")>=0)
      {
          f=1;
      }             
      else if (email.lastIndexOf(".") <= email.indexOf("@")) { 
       f=1;
      }
      else if (email.indexOf("@") == email.length-1) { 
       f=1;
      }
      else if (email.indexOf("..") >=0) {
       f=1;
      }
      else if (email.indexOf(".") == email.length-1) { 
       f=1;          
      }
   if(f==1)                      
   {
       alert("Please Enter Valid Email");
       document.forms[0].emailId.focus();
       return false;
   }        
}

function allValidChars(email) {
  var parsed = true;
  var validchars = "abcdefghijklmnopqrstuvwxyz0123456789@.-_";
  for (var i=0; i < email.length; i++) {
    var letter = email.charAt(i).toLowerCase();
    if (validchars.indexOf(letter) != -1)             
      continue;
    parsed = false;
    break;
  }        
  return parsed;
}

Tuesday, March 2, 2010

Download Java Projects,.Net Projects

To download java projects and .net projets which were very helpful for java & .net academic students visit the following,and to improve their knowledge in java or .net.

http://downloadjavaprojects.blogspot.com/

http://downloaddotnetprojects.blogspot.com

Monday, March 1, 2010

Eenadu Computer Articles

To know about new and updated information in Computer Technology in telugu language from Eenadu Paper Eenadu Articles that are printed on every thursday from the months of December 2009- February 2010 then Click Here to Download those articles in Pdf format.

Saturday, February 27, 2010

ThreadLocal Example in Java

To share a some object associated or linked with 1 thread at any point of time and do not want to modify this value by any other thread then ThreadLoal is useful.This also avoids no need to think about synchrniation,because each thread maintain's it's own copy.

public class ThreadLocalExample extends Thread {

private static int nextSerialNum = 0;
private static ThreadLocal serialNum = new ThreadLocal() {
protected synchronized Object initialValue() {
return new Integer(nextSerialNum++);
}
};

public static int get() {
return ((Integer) (serialNum.get())).intValue();
}

public void run() {
for(int i=1;i<30;i++)
    System.out.println("Name : " + Thread.currentThread().getName() +" Value : " + get());
  }

  public static void main(String[] args) {
    Thread t1 = new ThreadLocalExample();
    Thread t2 = new ThreadLocalExample();
    Thread t3=new ThreadLocalExample();
    t1.start();
    t2.start();
    t3.start();
  }
}

For more information on ThreadLocal class usage http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ThreadLocal.html

To understand this concept more clearly execute the above program and observe the output.

Monday, February 22, 2010

Struts Layout Tree View Example

Struts Layout provide so many features for Struts developers,
so if you want to know about more information on struts-layout visit http://struts.improve-technologies.com/.

To know about what the features are there in practical some programming example requried.

To download struts layout tree view example click any of the bellow links
Mediafire  :   http://www.mediafire.com/?mzk2mcmw4bl

how to read excel file in java

To read Excel file in java using Jakarta POI  (or) JExcel API  visit the following url
http://blog.taragana.com/index.php/archive/how-to-read-write-excel-spreadsheet-from-java/.

To download POI Jar file Click Here

Sunday, February 21, 2010

How to Write and Read Some Content into (or from) File Using Java Script

To write some content into some file or read content from file and wants to store all file content in one variable and wants to dispaly this as a alert or some thing the following program will be helpful.This works in Internet Explorer.
Code:
<HTML>

<HEAD>


<SCRIPT language="JavaScript">


function WriteAndReadFile()

{

var fso = new ActiveXObject("Scripting.FileSystemObject");

var fh = fso.CreateTextFile("D:\\Test.txt", true);

fh.WriteLine("Text Example 1");

fh.WriteLine("Text Example 2");

fh.WriteLine("Text Example 3");

var f;

var str;

f = fso.OpenTextFile("D:\\Test.txt", 1);

var s=f.ReadAll();

alert(s);

f.Close();


}


</SCRIPT>

</HEAD>


<BODY>

<P>

<SCRIPT language="JavaScript"> WriteAndReadFile(); </SCRIPT>

</P>

</BODY>

</HTML>

Turbo C Software Free Download

To download Turbo C Software from official web site http://lmgtfy.com/?q=turbo+c+download+antique+software.In that you have to register and then you are able to download freely.

To install C software in Your Windows Operating System copy all Disk2,Disk3 files individually into Disk1 and click install.exe present in your Disk1 which came with your downloaded Zip file.
                                                 (OR)
Simply Click Here to Download

Ajax Tag Library for Server Side Java Applications

Ajax Tag Library from sourceforge.net is good to reduce the maintenance cost of our project developed in servlets,jsp or struts.To know more about this ajax tag library from sourceforge Click Here.

Thursday, February 4, 2010

How to Open Notepad through HTML File

The following program will launch the Notepad by Pressing button in web browser.This works in Internet Explorer only.

<html>
<head>
<script language="JavaScript" type="text/javascript">
function runReport()
{
var rep = new ActiveXObject("WScript.Shell");
rep.Run("C:\\Windows\\system32\\notepad.exe", 1, true);
}

</script>
</head>
<body>
<h1>Run a Program</h1>
This script launch the file >> c:\windows\system32\notepad.exe<p>
<button onclick="runReport()">Run Windows NotePad</button>
</body>
</html>

Wednesday, January 6, 2010

Pdf Merger and Splitter Without Any Water Marks

If you want to merge serveral pdf files into single file or wants to split 1 pdf into multiple pdf files or want to set password to pdf then Click Here to Download.

    After downloading the above software you can see the pdf tools (3 rd tab) section,there you can find all these functionalities and more.

Google Book Downloader

If you want to download Google Books with full view or limted view(only limited pages are downloaed) , we can use Google Book Downloader.
          To Download Google Book downloader  Click Here