Forse c'è qualcosa che mi sfugge nella domanda. Certo che è possibile
farla... Anzi, di solito è la cosa che fanno tutti i principianti...
ci vuole poi un pò di tempo a convincerli ad usare i packages :-)
Citando il sun tutorial su java
http://java.sun.com/docs/books/tutorial/java/package/createpkgs.html :
"If you do not use a package statement, your type ends up in an
unnamed package. Generally speaking, an unnamed package is only for
small or temporary applications or when you are just beginning the
development process. Otherwise, classes and interfaces belong in named
packages."
In genere gli IDE ti "forzano" usare packages, ma anche dentro
Netbeans se provi a creare una Java class ti chiederà il nome del
package, se lo lasci bianco ti dirà che non si dovrebbe usare il
default package ma se insisti te lo lascerà fare. Nella vista di
progetto la tua classe figurerà dentro "default package" ma se guardi
la vista dei files, scoprirai che sta proprio in src.
Ciao
marco
> --
>
> You received this message because you are subscribed to the Google Groups "JUG Trentino Alto Adige Suedtirol" group.
> To post to this group, send email to
jug...@googlegroups.com.
> To unsubscribe from this group, send email to
jugtaa+un...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/jugtaa?hl=en.
>
>
>
--
Marco Ronchetti - Dipartimento di Ingegneria e Scienza dell'Informazione
Universita' degli Studi di Trento - 38123 Povo (TN) Italy
tel:
(+39)0461 282033 mob:
(+39)335 6006343 fax
(+39)0461 282093
http://latemar.science.unitn.it