Beh... se non riesci a trovare l'errore nemmeno quando il compilatore ti dice esattamente su quale file e a quale riga è, allora non hai grandi speranze...


codice:
esame.java:44: illegal start of type
               ordine == < ;
(e seguenti)


codice:
import java.io.*;
import javax.swing.*;

public class esame {

	public static void main(String args[]) throws IOException {  
	
		BufferedReader inserimento = new BufferedReader(new InputStreamReader(System.in));
		
		int numElem ;          	
		int vettore[];
		int counter = 0;      
		int temp = 0;          
		String inputBox;
		String vet = "";
        BubbSort b = new BubbSort();
		

		
		
inputBox=JOptionPane.showInputDialog("Ciao da quanti elementi vuoi che sia composto il vettore da riordinare?");
		if(inputBox == null) return;   

		
numElem = Integer.parseInt(inputBox); 
		
		
vettore = new int[numElem]; 
		
		
		for (int i = 0; i < vettore.length; i++) {   
		counter = i + 1; 
		
		inputBox=JOptionPane.showInputDialog( nome + " Inserisci l'elemento " + counter + " di " + numElem); 

			if(inputBox == null) return;
			vettore[i] = Integer.parseInt(inputBox); 
		}	   
int returnVal = JOptionPane.showConfirmDialog(null, nome+ " Vuoi ordinare in maniera decrescente?" , "title", 
				JOptionPane.YES_NO_OPTION , JOptionPane.QUESTION_MESSAGE); 
				if(returnVal == JOptionPane.YES_OPTION) 
				{ 
				
		ordine == < ;
		b.BubbSort() ;
				}else if(returnVal == JOptionPane.NO_OPTION){
				
ordine == >;
b.BubbSort();
}
		
		}
	
else return;

		
		for (int i=0; i<numElem; i++)
		vet += vettore[i] + "  ";
		
		JOptionPane.showMessageDialog(null, nome + " ecco il vettore ordinato: " + vet); 
	System.exit(1);
	}
Vedi righe in rosso... fammi indovinare: file esame.java, righe 44 e 48??


Ciao.