Search Results

Search found 5 results on 1 pages for 'jisson'.

Page 1/1 | 1 

  • custom list field with more than one row(image and text), and can be populated using a vector

    - by Jisson
    In my app I want show a list,and when user click in any list item ,some new items must be added to the same list.Now I use default ListField of bb and a vetcor to add or remove elements to or from it.Now I want the list to hold more than one row(an image and some text), i searched for it I got some good sample but it not suitable for me(http://stackoverflow.com/questions/1872160/how-to-customize-list-field-in-blackberry). I need a custom listfield which have atleast two rows and can be populated using a vector from the MainScreen class.I want only one object of custom class.If any one have idea please help.

    Read the article

  • jprogressbar visible and working on button click

    - by Jisson
    public NewJDialog(java.awt.Frame parent, boolean modal) { super(parent, modal); initComponents(); jProgressBar1.setVisible(false); } private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { jButton1.setEnabled(false); jProgressBar1.setVisible(true); repaint(); for(int i=0;i<=100;i+=5){ jProgressBar1.setValue(i); // jProgressBar1.setIndeterminate(false); try{ jProgressBar1.paintImmediately(0, 0, 100, 100);//0, 1, 100, 10 Thread.sleep(100); jProgressBar1.setStringPainted(true); }catch(Exception e){} } I use above code for using a Jprogressbar in a JDialog,If I use this I can see a progressbar aftercompleting its process(100 %) and also I want to hide progressbar upto buttonclick.Can any one help me?

    Read the article

1