Posts

How to install Jaspersoft Studio on Eclipse

What is Jaspersoft Studio ?              Jaspersoft Studio is the new Eclipse-based report designer for JasperReports and JasperReports Server. It is a full rewrite of iReport Designer, available as Eclipse plugin, and as a standalone application. Jaspersoft Studio allows you to create sophisticated layouts containing charts, images, subreports, crosstabs and much more. You can access your data through JDBC, TableModels, JavaBeans, XML, Hibernate, CSV, and custom sources, then publish your reports as PDF, RTF, XML, XLS, CSV, HTML, XHTML, text, DOCX, or OpenOffice.                      Jaspersoft Studio's primary goal is to provide the features in the well-known Jaspersoft Report Editor, available as a port of iReport Designer. Installation Steps 1)  Go to Help->Eclipse Marketplace... 2)  Type "Jaspersoft Studio" in search field and press enter...

How to Installing WindowBuilder on Eclipse

What is WindowBuilder ?                    WindowBuilder is composed of SWT Designer and Swing Designer and makes it very easy to create Java GUI applications without spending a lot of time writing code. Easily add controls using drag-and-drop, add event handlers to your controls, change various properties of controls using a property editor, internationalize your app and much more.   Inatallation Steps   To install WindowBuilder in Eclipse go to :          Eclipse Help-> Install New Software. In the textbox for add enter this URL :         http://download.eclipse.org/windowbuilder/WB/integration/4.6/   Tick the Window Builder and click Add . Complete the installation.

How to Install TeamViewer on a Ubuntu system

1) Download TeamViewer.deb file from below site as per your system os (32/64) https://www.teamviewer.com/en/download/linux/ 2) Open terminal and login with root sudo su Enter password for root user 3) Go to Download Directory cd Download 4) Change file permission using below command chmod 777 TeamViewer.deb 5) Install package using below command dpkg - i TeamViewer.deb 6) Search TeamViewer in search area

How to Install or Upgrade Google Chrome to latest version in Ubuntu

Step 1: Adding Google Chrome PPA $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - Now add the PPA url to /etc/apt/sources.list.d/google.list 64-Bit Systems: $ sudo sh -c 'echo " deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main " >> /etc/apt/sources.list.d/google.list' 32-Bit Systems: $ sudo sh -c 'echo " deb http://dl.google.com/linux/chrome/deb/ stable main " >> /etc/apt/sources.list.d/google.list' Step 2: Install or Upgrade Google Chrome $ sudo apt-get update $ sudo apt-get install google-chrome-stable Step 3: Start Google Chrome After completing step 2 the Google Chrome has been installed successfully on our system. Let start Google Chrome using the desktop menu or using one of the following commands. $ google-chrome & [or] $ google-chrome-stable &

How to Install AnyDesk remote desktop client on Ubuntu

1)  Download AnyDesk.deb file from below site as per your system os (32/64)           https://anydesk.com/download 2) open terminal and login with root sudo su Enter password for root user 3) Go to Download Directory           cd Download 4) Change file permission using below command   chmod 777 anydesk.deb 5) Install package using below command           dpkg - i anydesk.deb 6) Search AnyDesk in search area

Sample Code For Generating Thumb in java

This is simple way of creating a 100 X 100 thumbnail without any stretch or skew in image. private void createThumbOfImage ( String filePath , String outputFile ){ try { BufferedImage sourceImage = ImageIO . read ( new File ( filePath )); int width = sourceImage . getWidth (); int height = sourceImage . getHeight (); if ( width > height ){ float extraSize = height - 100 ; float percentHight = ( extraSize / height )* 100 ; float percentWidth = width - (( width / 100 )* percentHight ); BufferedImage img = new BufferedImage (( int ) percentWidth , 100 , BufferedImage . TYPE_INT_RGB ); Image scaledImage = sourceImage . getScaledInstance (( int ) percentWidth , 100 , Image . SCALE_SMOOTH ); img . createGraphics (). drawImage ( scaledImage , 0 , 0 , null ); BufferedImage img2 = new BufferedImage ( 100 , 100 , Buffe...