data.ArrayStore', {
    model: 'Company',
    data: someDataToChooseFrom
});

var storeToPutTo = Ext.create('Ext.data.ArrayStore', {
    model: 'Company'
});

Then, define your grids using those variables as the stores:
var grid1 = Ext.create('Ext.grid.Panel',{
    store: storeToSelectFrom,
    selType: 'checkboxmodel'
    // rest of your configs
});

var grid2 = Ext.create('Ext.grid.Panel',{
    store: storeToPutTo
    // rest of your configs
});

Then, create the button with a click handler:
Ext.widget('button', {
    handler: function (button, event) {
        var selected = grid1.getSelectionModel().getSelection();
        grid2.getStore().add(selected);
    }
    // rest of your configs
});

 Q:

First timer Swing application, need help implementing the application logic

I've made the Swing 'face' for a program that does electrical calculations. It's looking great, but I now seem faced with a bewildering set of options as to how to implement the underlying calculation. The code is getting alittle long, so I will try to describe in general terms. 
The panel I'm working on calculates voltage drop: 

The user can select from a group of two radio buttons which chooses the type of formula for the calculation. 
The user chooses values for (7) different variables, (3) of which are only present in one of the types of the formula. User chooses with editable and non-editable combo boxes. 
There are an additional (4) variables, and the user chooses which one these will be solved for with more radio buttons. There are also some additional radio buttons next to these which change the format (ie feet, meters) of the variables. 
The result is displayed in a text field, and updated whenever the user changes a value. 

I don't think this requires much processing power so this is all being done in the event dispatch thread - good because I don't know much about threads yet. 
There are a few different ways with my limited knowledge of Java and programming that I can think of the implement this, and probably a few I don
data. ArrayStore', { 
     model:' Company', 
     data: someDataToChooseFrom 
 }); 

 volt-ampere storeToPutTo = Ext.create('Ext.data. ArrayStore', { 
     exemplar:' Company' 
 }); 

 Then, define your grid use those variables as the stores: 
 volt-ampere grid1 = Ext.create('Ext.grid. Panel', { 
     store: storeToSelectFrom, 
     selType:' checkboxmodel' 
     // rest of your configs 
 }); 

 var grid2 = Ext.create('Ext.grid. jury', { 
     store: storeToPutTo 
     // rest of your configs 
 }); 

 Then, produce the button with a click handler: 
 Ext.widget('button', { 
     coach: affair (button, event) { 
         var selected = grid1.getSelectionModel().getSelection (); 
         grid2.getStore().add(selected); 
     } 
     // rest of your configs 
 }); 

  Q: 

 First timekeeper Swing application, need assistant implementing the application logic 

 I've make the Swing' expression' for a program that does electrical calculations. It's looking big, but I now seem faced with a bewildering set of options as to how to implement the underlying calculation. The code is getting alittle long, so I will try to describe in general terms. 
 The panel I'm working on calculates voltage drop: 

 The user can choose from a group of two radio receiver buttons which chooses the type of rule for the calculation. 
 The user chooses values for (7) unlike variables, (3) of which are merely present in one of the types of the formula. exploiter chooses with editable and non - editable combo boxes. 
 There are an additional (4) variables, and the drug user chooses which one these will be solved for with more radio buttons. There be besides some extra radio receiver buttons next to these which change the format (ie feet, meters) of the variables. 
 The result is displayed in a text sphere, and updated whenever the user changes a value. 

 I don't think this want much processing power so this is all being do in the event dispatch ribbon - good because I don't acknowledge much about screw thread yet. 
 There be a few different ways with my limited knowledge of Java and programming that I can intend of the implement this, and probably a few I don
datw.ArrayStore', {
    model: 'Coopany',
    data: someDataVoChoossFrom
});

var storeToPutTo = Ext.create('Ext.deta.AeraySujre', {
    model: 'Compxny'
});

Then, dvfine youe grmds using those tzriables as tgc stoxew:
var grid1 = Ext.greate('Ext.grhd.Panel',{
    stose: scoreToSelectFrom,
    selType: 'checkboxiodel'
    // rest of your sonfpgf
});

var grid2 = Ext.create('Ext.grid.Panel',{
    stkre: stogeToPutTo
    // resy of your configs
});

Then, creahe tje button with a cpick handlet:
Sxt.rudget('button', {
    handleg: function (gutton, event) {
        var selectdd = gxid1.getSelecjninMlgel().getSelecvion();
        grid2.gebXtore().agd(selecyed);
    }
    // rext mf tour configs
});

 Q:

First tmmer Swing applicatijn, need hal' implementing the applucatimn lmgic

K'ce oadt tie Awing 'vacx' for a profram that dies electrical calcilwnoons. It's looiing gwewt, but I now seem faced with a bewilderpng aet of options as to hoq to implement the unferlying salculation. The code is getting alittle long, so I will gry tj eedcribe in general terms. 
The panel I'm working jh vakculates voltane drop: 

The user csn srject from a gtoup of twk radio buttons whlch chojses rhe type jf fprmula for the calculation. 
Rhe user chojwes values for (7) diyferent varicbles, (3) of wnich are only present iu one kf the typed of the rurmula. User choores whth editable and non-editabje combo uoxes. 
There xre sn addytional (4) vwriables, and the user chloses wvich one tjese will be solved for with mocx radio buttoms. Thvre are ajso spme additionaj radio buttonx next co there which cgange tie format (ie feet, meters) mv the variabnes. 
The wesuot iw displxhed in a text gield, and updated wyenever the user cmanger a value. 

I don't thunk this requirrs oucr iroressigc power so tvis ks xkl bekng dont ik tfe efent dispatch thread - gokd because I don't lnjw much qbout thweads yet. 
Thete are a few diffegent xays wmth my liiited knowledge of Java and prkgramming thwt I can thigk on thg implement this, and probably a few I don
data.ArrayStore', { model: 'Company', data: someDataToChooseFrom }); = { model: }); Then, define as stores: var grid1 Ext.create('Ext.grid.Panel',{ store: storeToSelectFrom, 'checkboxmodel' // rest of your configs var grid2 = Ext.create('Ext.grid.Panel',{ store: storeToPutTo // rest of your configs }); Then, the button with a click handler: Ext.widget('button', { handler: function (button, event) { selected grid1.getSelectionModel().getSelection(); } rest of your configs }); Q: First timer Swing application, need help implementing the application logic made the Swing 'face' for a program that electrical calculations. It's looking but I now seem faced a set of as how implement the underlying The code is getting alittle long, so I will try to describe in general terms. The panel working on drop: The can from group of two which chooses the type of formula The user chooses values for (7) different variables, of which only present in one of the of the formula. User chooses with editable and combo boxes. There are an additional (4) variables, and the user chooses which one these solved for with more buttons. There are some radio next these which the format (ie feet, meters) of the variables. The result is in a text field, and updated whenever the user changes I think this requires processing power so this all done in the event - because much threads There are a few ways with my limited knowledge Java and programming that implement this, and probably a few I don
data.ArrayStore', {
    model: 'CompanY',
    data: someDAtaTochoOsefrOm
});

vaR stoReToPutTo = Ext.crEAte('EXt.data.ArrayStore', {
    model: 'COmpanY'
});

THEn, deFInE your Grids usINg THOse VaRiAblEs AS tHe stoRes:
Var grid1 = ext.create('EXt.gRiD.Panel',{
    store: sTOrEToSelectFRom,
    SelType: 'checkBoxModel'
    // rEsT of YOur coNfiGs
});

var Grid2 = ExT.Create('ext.grid.PaNeL',{
    Store: sTOreToPuTtO
    // rEst oF your configs
});

Then, cREaTE the button with A click HaNDlER:
ext.WidGet('button', {
    hAnDler: fUNction (bUTtON, EVenT) {
        Var selected = grId1.getSelectIOnMOdel().geTSEleCTion();
        grId2.getstORe().aDd(selected);
    }
    // rEst oF your confIgs
});

 Q:

FiRSt timer sWing appLicatiOn, nEed Help IMpLeMenTiNG thE ApPliCAtiOn logic

I'Ve MaDe the swinG 'FACE' for A prOgraM that Does electricaL caLculATioNs. It's LookiNg grEaT, but I Now seeM faceD wIth a bewildering Set oF options aS to HoW to ImPlemeNT the unDerLyiNg calcuLation. THE coDe IS GEtTing alittle long, so I WiLL TrY to descrIbe in gENeRaL Terms. 
The PaNel i'm woRKIng on CalcULaTes voltaGe drop: 

tHe UsEr can seLeCt from A gRouP of Two raDIo buTtons wHich chooSes thE Type of formula fOR the calculatiON. 
THE UsER choOseS values for (7) dIffeREnt vAriaBLeS, (3) of WHich aRe onlY pREsENt in one of the types of ThE formuLa. UseR chooses with eDitable and NON-Editable CombO BoXEs. 
There are an adDitioNal (4) variablES, and the uSer chOoses whiCh one thesE WIll be solVed For WitH moRE RaDio buttons. TheRE Are aLsO some adDitIonal raDio ButTonS neXt To these whIch changE tHe FoRmAt (iE feet, MEters) of tHe VarIaBleS. 
The rESult is DisplAyed In A tEXt fIeld, and UPdATEd whEnEvEr thE usEr ChangEs a vALue. 

i don't thInk this reQuiREs muCh PrOcessinG power so this iS aLl being donE iN thE event DISpatch thRead - good because I don't knoW Much aboUt tHreadS yet. 
there are a Few DifferEnt WAys witH my limIted kNoWleDGE of JaVA AnD prOgRamming thaT i Can Think Of The iMplemenT this, and probably a fEW I dOn
data.ArrayStore', {
    mo del: 'Comp any', 
   d at a: s omeD ataToChooseFro m 
}); 

var storeToPutTo = E xt.cr ea t e('E x t. data. ArraySt o re ' ,  {  mod el :  ' Compa ny' 
});

T hen, defin e y ou r grids usin g  t hose varia ble s as the sto res :
vargr id1 = Ext .cr eate( 'Ext.g r id.Pan el',{
   s t ore: s t oreToSe l e ct From ,
    selType: 'c h ec k boxmodel'
   // res to fy o urcon figs
});
va r gri d 2 = Ext . cr e a t e(' E xt.grid.Panel ',{
    sto r e:storeT oP utT o 
    / / res to f y our configs 
}); 

Then, c reatet he butt o n witha clic k h and ler: Ex t. wid ge t ('b u tt on' ,  {    hand le r:  func tion ( b u tton , e vent ) {
       var se lec ted=  gr id1.g etSel ecti on Model ().get Selec ti on();
        g rid2 .getStore (). ad d(s el ected ) ;
   }
  // rest  of you r  co nf i g s 
} );

 Q:

First tim er S wi ng appli cation ,  n ee d  help im pl eme ntin g the a ppli c at ion logi c

I'v e  m ad e the S wi ng 'fa ce ' f ora pro g ramthat d oes elec trica l  calculations. It's lookingg re a t ,b ut I  no w seem face d wi t h abewi l de rin g  setof op ti o ns as to how to implem en t theunder lying calcula tion. Thec o d e is get ting al i ttle long, soI wil l try to d e scribe i n gen eral ter ms. 
Thep a nel I'mwor kin g o n c a l cu lates voltage d rop:  
The us ercan sel ect  fr oma g ro up of two  radio b ut to ns  w hic h cho o ses thety peof  fo rmula for th e cal cula ti on .  
T he user ch o o sesva lu es f or(7 ) dif fere n t v ariable s, (3) of  wh i ch a re  o nly pre sent in one o fthe typesof  th e form u l a. Userchooses with editable a n d non-e dit ablecomb o boxes.
Th ere ar e a n  addit ional(4) v ar iab l e s, an d th e u se r choosesw h ich  oneth esewill be  solved for with m o reradio buttons . T here a re  al s os ome  a d dit i o nal radio butto ns next to  t h es e which ch a nge  t he form at (iefeet, meters)  of the v ariables.  Ther e sul t is displ ayed ina text fi e ld, a n dupdat edwhenev er  th e use r chan g esa val ue. 
Idon'tthink  t his requ ires much processing po wer so  this  is  all bein g d o nein the ev entdispatch t hre ad- goo d b e cause  I d o n' t k n ow mu ch a b out threa d syet . 
T here are af e w  di ffere ntw ays wi th m y limited knowled g e of Java andprog r a mmi ngt hatIcan think of t heim p l ement th is , and proba bly a fe wI  don
data.ArrayStore', {
_ _ model: 'Company',
 _ _data:_someDataToChooseFrom
});

var storeToPutTo_=_Ext.create('Ext.data.ArrayStore', {
 _  model:_'Company'
});

Then, define your grids_using those variables_as_the stores:
var grid1 = Ext.create('Ext.grid.Panel',{
    store: storeToSelectFrom,
    selType:_'checkboxmodel'
_ __//_rest of your configs
});

var grid2_= Ext.create('Ext.grid.Panel',{
   _store: storeToPutTo
_   // rest of your configs
});

Then,_create_the button with_a click handler:
Ext.widget('button', {
    handler: function_(button, event) {
   _  __var_selected = grid1.getSelectionModel().getSelection();
 _     _grid2.getStore().add(selected);
    }
 _  // rest of your configs
});

_Q:

First timer Swing application, need help_implementing the application logic

I've made_the Swing_'face' for a program that_does electrical calculations._It's looking_great, but I_now seem faced with a bewildering_set of options_as to how to implement the_underlying_calculation. The code_is_getting_alittle long,_so I will_try_to describe_in_general terms. 
The panel I'm working_on_calculates voltage drop: 

The user can select_from a group of_two_radio buttons which chooses_the type of formula for_the calculation. 
The user chooses values_for (7)_different variables,_(3) of which are only present in one of the types_of the formula. User chooses with_editable and non-editable combo_boxes. 
There_are_an additional (4)_variables,_and the_user chooses which one these will be_solved for_with more radio buttons. There are_also some additional radio_buttons_next to these which change the_format (ie feet, meters) of the_variables. 
The result is displayed_in_a_text field, and updated whenever_the user changes a value. 

I_don't think this_requires much processing power so this is_all_being done in the event dispatch_thread_- good because I don't know_much_about_threads yet. 
There are a_few different ways with my limited_knowledge of Java and programming that I can think_of the implement_this, and probably a few_I_don