miércoles, 10 de diciembre de 2008

Liks importantes:

JPQL Language Reference:

http://openjpa.apache.org/builds/1.2.0/apache-openjpa-1.2.0/docs/manual/jpa_langref.html

-------------------------------------

Agregar Imagen
JfileChooser:
http://chuwiki.chuidiang.org/index.php?title=JFileChooser

imagen en jpa:
http://es.debugmodeon.com/articulo/entidades-en-jpa
http://www.apuntesdejava.com/2009/02/guardar-imagenes-en-base-de-datos.html

-------------------------

Drag an Drop:
http://zetcode.com/tutorials/javaswingtutorial/draganddrop/
http://sites.google.com/site/flaviodanesse/aprendiendo-java/drag-and-drop






Codigo de abreviaciones en NetBeans

Mientras se escribe código en el editor de NetBeans podemos utilizar las siguientes abreviaturas y después presionar la tecla Tab para generar la línea o bloque de código que se indica, algo bastante útil que nos ahorra además de tiempo errores de dedo al momento de codificar:

-Abreviatura-

- Resultado -

En

Enumeration

Ex

Exception

Ob

Object

Psf

public static final

Psfb

public static final boolean

Psfi

public static final int

Psfs

public static final String

St

String

ab

abstract

bo

boolean

br

break

ca

catch(

cl

class

cn

continue

df

default:

dowhile

do{

}while(condition);

eq

equals

ex

extends

fa

false

fi

final

fl

float

forc

for (Iterator it = collection.iterator();

it.hasNext();) {

Object elem = (Object) it.next();

}

fore

for (Object elem : iterable) {

}

fori

for (int i = 0; i < arr.length; i++) {

}

fy

finally

ie

interface

ifelse

if (condition){}else {

}

im

implements

iof

instanceof

ir

import

le

length

newo

Object name = new Object(args);

pe

protected

pr

private

psf

private static final

psfb

private static final boolean

Psfi

private static final int

psfs

private static final String

pst

printStackTrace();

psvm

public static void main(String[] args){

}

pu

public

re

return

serr

System.err.println(“”);

sout

System.out.println(“”);

st

static

sw

switch(

sy

synchronized

tds

Thread.dumpStack();

th

throws

trycatch

try {}

catch (Exception e) {}

tw

throw

twn

throw new

wh

while(

whileit

while (it.hasNext()) {

Object elem = (Object) it.next();

}