Bookmark Topic Watch Topic
  • New Topic

everything is string

 
Mohamad Samy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi
I've made a jtable with row contains some combobox and textfields using the default table model but every thing appears as strings after compiling.
I don't know what is the problem
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
What does "but every thing appears as strings"? What is "everything"? TellTheDetails.
 
Mohamad Samy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Report post to moderator
for ex.
i declared the row data for the table to have text field and two comboboxes side by side but when compiling the program those components appear as strings not comboboxes. i used the default model and layed the table on the frame uaong the grouplayout
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
I guess we would have to see a relevant excerpt of your code to understand what is going on.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49827
69
  • Mark post as helpful
  • send pies
  • Report post to moderator
Taking the liberty of closing this thread as a duplicate of this one.
 
    Bookmark Topic Watch Topic
  • New Topic