Visualizzazione dei risultati da 1 a 3 su 3

Discussione: JTable e ComboBox

  1. #1

    JTable e ComboBox

    Ragazzi come faccio a scrivere una JComboBox in una cella precisa di una JTable?
    [ SimplyMepis 8 ]Copyleft
    www.mepisitalia.org IL SITO ITALIANO UFFICIALE DI MEPIS
    www.salentomovida.it LA MOVIDA DEL SALENTO HA UN NUOVO PUNTO D'INCONTRO SUL WEB
    [ SUD SOUND SYSTEM MINA FUECU INTRA ALLU SALENTU ]

  2. #2
    Utente di HTML.it L'avatar di andbin
    Registrato dal
    Jan 2006
    residenza
    Italy
    Messaggi
    18,284

    Re: JTable e ComboBox

    Originariamente inviato da alex86
    Ragazzi come faccio a scrivere una JComboBox in una cella precisa di una JTable?
    Vedi il tutorial della Sun, in particolare qui dove fa proprio l'esempio di un combobox come "editor".
    Andrea, andbin.devSenior Java developerSCJP 5 (91%) • SCWCD 5 (94%)
    java.util.function Interfaces Cheat SheetJava Versions Cheat Sheet

  3. #3
    si l'avevo già visto il mio problema è che pero' necessito un combobox con valori differenti a seconda di un certo valore della riga..
    in quell'esempio attribuisce il combo all'intera colonna
    [ SimplyMepis 8 ]Copyleft
    www.mepisitalia.org IL SITO ITALIANO UFFICIALE DI MEPIS
    www.salentomovida.it LA MOVIDA DEL SALENTO HA UN NUOVO PUNTO D'INCONTRO SUL WEB
    [ SUD SOUND SYSTEM MINA FUECU INTRA ALLU SALENTU ]

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.