Questions tagged as 'jlist'

2
answers

How to play the data of a Jlist in another Jlist that is in another Jframe?

I tried several ways, but I could not find a solution.    When I click the save button. I want it to throw the data from this Jlist to the other Jlist that is in the Other Jframe. "I could not activate the code block, sorry." //Método para Adi...
asked by 07.11.2016 / 12:27
0
answers

Remove file from a JList and computer [closed]

I have a frame with a list of values where multiple files are displayed. AtthispointI'mdoingthedeletebuttonsentinel(lastpartcode),inwhichthegoalistodeletethefilefromthedisk,andthejlist.publicvoidaddContentFrame(){frame.setLayout(newBorderLay...
asked by 18.10.2016 / 16:07
1
answer

Add element in JList

This action of a button is to add the path of a file to a JList : private void bArquivoActionPerformed(java.awt.event.ActionEvent evt) { JFileChooser fileChooser = new JFileChooser(); fi...
asked by 19.12.2017 / 00:32