0 Members and 1 Guest are viewing this topic.
Tiens? Tu as 2 icônes YouTube, Dan, sous ton avatar...
public class Encodage extends JFrame { private JSpinner dateJspin; private String recupDate; public Encodage() { // Je zappe tout ce qui n'est pas essentiel dateJspin = new JSpinner(); dateJspin.setModel(new javax.swing.SpinnerDateModel()); dateJspin.setEditor(new JSpinner.DateEditor(dateJspin, "dd-MM-yyyy")); panel.add(dateJspin); } } // Dans l'écouteur d'événement du bouton de récupération de date : public class ListenerBoutonValider implements ActionListener { public void actionPerformed(ActionEvent e) { recupDate=new SimpleDateFormat("dd/MM/yyyy").format(dateJspin.getValue()); String queryInsert = "INSERT INTO INSTALLATION values(" + valeur1 + "," + "'"+recupDate+"'," + autresValeurs + "')"; // Et on exécute la requête ! } }
Désolé, vous ne pouvez répéter une action sur le karma sans attendre 1 heures.
3x2-6x+9=3A vos calculettes !
Pauvre AlonzoBistro, il est le martyr de ce forum.
Bon... Je vais devoir m'habituer au nouveau look, mais chuis content d'^tre de nouveau là...
**** Orbiter.logBuild Aug 30 2010 [v.100830]Timer precision: 3.15821e-010 secFound 1 joystick(s)Devices enumerated: 3Devices accepted: 3==> RGB Emulation==> Direct3D HAL==> Direct3D T&L HALModule AtlantisConfig.dll .... [Build 100830, API 100830]Module AtmConfig.dll ......... [Build 100830, API 100830]Module DGConfigurator.dll .... [Build 100830, API 100830]Module OrbiterSound.dll ...... [Build 121120, API 100830]Module ScnEditor.dll ......... [Build 100830, API 100830]Module CustomMFD.dll ......... [Build 100830, API 100830]Module Rcontrol.dll .......... [Build 100830, API 100830]Module LuaConsole.dll ........ [Build 100830, API 100830]Module ScriptMFD.dll ......... [Build 100830, API 100830]Module LuaMFD.dll ............ [Build 100830, API 100830]**** Creating simulation sessionDirectDraw interface OKDirect3D interface OKGraphics: Viewport: Window 1146 x 832 x 32Graphics: Hardware T&L capability: YesGraphics: Z-buffer depth: 32 bitGraphics: Stencil buffer depth: 8 bitGraphics: Active lights supported: 8Loading 15382 records from star databaseJoystick throttle: SLIDER 0Joystick throttle control detectedModule Sun.dll ............... [Build 100830, API 100830]VSOP87(E) Sun: Precision 1e-006, Terms 554/6634Module Mercury.dll ........... [Build 100830, API 100830]VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123Module Venus.dll ............. [Build 100830, API 100830]Module VenusAtm2006.dll ...... [Build 100830, API 100830]VSOP87(B) Venus: Precision 1e-005, Terms 79/1710Module Earth.dll ............. [Build 100830, API 100830]Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564Module Moon.dll .............. [Build 100830, API 100830]ELP82: Precision 1e-005, Terms 116/829Module Mars.dll .............. [Build 100830, API 100830]Module MarsAtm2006.dll ....... [Build 100830, API 100830]VSOP87(B) Mars: Precision 1e-005, Terms 405/6400Module Phobos.dll ............ [Build ******, API 060425]Module Deimos.dll ............ [Build ******, API 060425]Module Galsat.dll ............ [Build 100217, API 100215]Module Jupiter.dll ........... [Build 100830, API 100830]VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625Module Io.dll ................ [Build 100217, API 100215]Module Europa.dll ............ [Build 100217, API 100215]Module Ganymede.dll .......... [Build 100217, API 100215]Module Callisto.dll .......... [Build 100217, API 100215]Module Satsat.dll ............ [Build 100215, API 100212]Module Saturn.dll ............ [Build 100830, API 100830]VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365Module Mimas.dll ............. [Build 100215, API 100212]SATSAT Mimas: Terms 113Module Enceladus.dll ......... [Build 100215, API 100212]SATSAT Enceladus: Terms 33Module Tethys.dll ............ [Build 100215, API 100212]SATSAT Tethys: Terms 101Module Dione.dll ............. [Build 100215, API 100212]SATSAT Dione: Terms 59Module Rhea.dll .............. [Build 100215, API 100212]SATSAT Rhea: Terms 68Module Titan.dll ............. [Build 100215, API 100212]SATSAT Titan: Terms 100Module Iapetus.dll ........... [Build 100215, API 100212]SATSAT Iapetus: Terms 605Module Uranus.dll ............ [Build 100830, API 100830]VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269Module Miranda.dll ........... [Build ******, API 060425]Module Ariel.dll ............. [Build ******, API 060425]Module Umbriel.dll ........... [Build ******, API 060425]Module Titania.dll ........... [Build ******, API 060425]Module Oberon.dll ............ [Build ******, API 060425]Module Neptune.dll ........... [Build 100830, API 100830]VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024Finished initialising worldModule Ummu.dll .............. [Build 121224, API 100830]Module UCGODynamicCargo.dll .. [Build 120623, API 100830]Finished initialising statusFinished initialising cameraFinished initialising panelsFinished setting up render state**** Closing simulation session
**** [u]Orbiter.log[/u]Build Aug 30 2010 [v.100830]Timer precision: 3.15821e-010 secFound 1 joystick(s)Devices enumerated: 3Devices accepted: 3==> RGB Emulation==> Direct3D HAL==> Direct3D T&L HAL
Moi je veux pouvoir chatter avec des amis ! Post Merge: 27 July 2013, 21:49:01Encore beaucoup de posts à écrirePost Merge: 27 July 2013, 21:49:48Et le cuir me va si bien !