Month: November 2015

How to add a gif Animation to your Java programme

Guys this small tutorial is about how to add an any kind of a animation at the beginning or anywhere of your java programme.This will give a really good look for your project for sure.

So first you’ll have to make your own gif file first.I’ll give show you the way of how to do that kind of a thing 🙂

Step 1 : First you have to create your logo or whatever the thing you want to show using photoshop.

7This is what i have made for my mp3 player 😛

(more…)

Advertisements

How to insert data from a JTable into a Database

So guys today i’ll show you how to insert data from a JTable into a mysql Database.I have created a project called ItStuff and created some classes for as the main class(ItStuff.java) Database operations (Dbops.java) and a JFrame (ItStuffJFrame.java) for give you a better and clear idea about this operations.

Screen Shot 2558-11-16 at 12.57.05 AM

This is the JFrame i have created with just a table and a button. (more…)

How to build your own mp3 player in Java

So guys i’ll show the way of how to play mp3 files and all other functions related to a mp3 player.So first i’ll show you my own mp3 player.Hope that will motivate you to come up with your own MP3 player.So here we goo..

Screen Shot 2558-11-15 at 1.48.48 PM

(more…)

Stored Functions

We can use these user defined functions to return some values by computing the data in the database. but we cannot change the database using any stored function.

These functions must return a value,only have input parameters,should be compiled and executed each time when we want to call the function and can use inside the stored procedures as well.

We’ll look at the format of a Stored Function.

(more…)

Stored Procedures

So guys welcome to my SQL Stored Procedures small tutorial and i hope you’ll grab all what you want 🙂

So first we’ll see what is a Stored Procedure

Basically we write the same sql query in our system,programme in many places.The same code.Why we can’t use a template or something?? Yes that’s why we use STORED PROCEDURES 😛

Any more advantages??

  • You don’t need to compile it again and again.Just recompile it once you modified the procedure.
  • Performance improvement by executing the procedure on server.
  • Can provide security since user can execute stored procedure rather accessing tables.
  • If only the business logic changes then only change the stored procedure.

(more…)