Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to put array values into a combo box

807600Oct 25 2007 — edited Oct 26 2007
I have a two dimensional array with 2 columns of data. How do I fill a combobox with data from the first column of the array?
   private static double [][] dbl15YearRates =  {{0, 0.0},
                                           {5.88, 1.625},
                                           {6, 1.25},
                                           {6.13, 1},
                                           {6.25, 0.375},
                                           {6.38, 0},
                                           {6.5, -0.375},
                                           {6.63, -0.5},
                                           {6.75, -0.625},
                                           {6.88, -0.75},
                                           {7, -0.875},
                                           {7.13, -1},
                                           {7.25, -1.125},
                                           {7.38, -1.375}};
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2007
Added on Oct 25 2007
8 comments
537 views