learn how to construct object and avatar in second life:



how to resize pictures using photoshop cs2

in java the difference between vetor and list , is that list is an interface,while Vector is a concrete implementation.

to be more simple , use list instead of vector ,list is more structured and standardized.
the main difference are :

- list is part of collection framework interface , and vector is an implementation.

-the methods name in list are shorter than it in vector for exemple :

you will use set instead setElementAt for vector .
get instead elementAt for vector.
** the argument in set and get are inversed ex: set(5,"hello") NOT set("hello",5) like in setelementat. **
sublist
instead
Vector (indexOf, lastIndexOfsetSize)

for more information about  list: http://java.sun.com/javase/6/docs/api/java/util/List.html 

this error “Another process is using the packaging system database(probably some other adept application or apt-get or aptitude)” ,
occur and you can’t  install any thing using adept manager.

first check it you have any other adept manager windows open , if it close the windows.

but if this problem occur many times you can try this solution:

go to console and use this code :

sudo apt-get clean
sudo dpkg –configure -a

you need of course the administrator(root) privilege to do that .

the new version of Firefox , Firefox 3 beta 1 is ready , this new version has several new improvement , up to 2 millions line code has been changed .
this version is more stable,more secure and easy to use. based on Gecko 1.9 Web rendering platform . but still this is BETA 1 version need to wait official version for large use.

problem: you loss sound in all clip video or music when you are using mozilla firefox

make sure that the problem occur only when you are using mozilla firefox.
tray to check that the sound exist when you use your media player programme
if the sound exist , then tray to play any clip or music using any other browser IE,OPRA…
if the sound exist  you are sure that the problem exist only in mozilla .

the first source for this problem can be a new installed extension or module ;
disable all new installed modules and test again .

the second cause of this problem can be the java installation, go to  options and disable java
,and restart mozilla firefox , if this procedure solve the problem. you need to reinstall java .

import java.io.*; // needed for BufferedReader, InputStreamReader, etc.

/** Exemple of console based input and output program. */
public class EX_IO
{
// Create a single shared BufferedReader for keyboard input
private static BufferedReader stdin =
new BufferedReader( new InputStreamReader( System.in ) );

// Program execution starts here
public static void main ( String [] args ) throws IOException
{
// Print some text in the screen
System.out.print( “Type some data for the program: ” );

// Read a line of text from the console.
String input = stdin.readLine();

// Print input back to the screen.
System.out.println( “input = ” + input );

} // end main method

} // end EX_IO class

Install WAMP:

WAMP is free open source, and an easy solution for windows to run Apache MySql and PHP in your local computer,to install it just download the binary from here.Run setup ,follow instruction be sure you check the Autostart option; otherwise just go ahead and accept the defaults unless you have a good reason to do otherwise and you know what you’re doing. Once you’ve finished, type http:\\localhost in your favorite browser, if everything went smoothly, you should see the page above.

Configure wamp:

We need now to configure wamp it’s very easy.
1.To create a project just create a new folder in www\ folder in install directory by default C:\wamp\www\name_of_your_project
2.Just type http:\localhost in your favorite browser to see your project name under projects section.

That’s it,see you to the next tutorial, have a nice time.

the new version of the more and more used open office ,in his 3rd edition is ready, but only
for test and for people ready to help the community .
for more information about the new features of this version and  for downloading you can visite:

http://marketing.openoffice.org/3.0/announcementbeta.html 

fell free to use it, test , make your reviews , and report any bug .

PHP Fatal error: Class XXX contains X abstract method and
must therefore be declared abstract or implement the remaining methods
(XXX::XXX) in…

This error occurs when we try to create a derived class from an abstract class without implementing there abstract methods.

To correct this just implement the abstract methods.

Exemple:

abstract class product
{
protected $products = array();
abstract function add_product();
}

class cd extends product
{
function add_product()
{
//implementation
}
}

Next Page »