Panel.find(rootNode, parent);
            DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode) path.getLastPathComponent();
            categoryNode = treePanel.addObject(parentNode, categoryName);

        }
    }

    }

Any ideas how could I change cards in ThumbPanel from the listener in JTreeHelper?

A:

Check what is returned by the 
parentNode.toString()

Try instead
tp.cl.show(tp, parentNode.getUserObject().toString());

A:

The problem is solved, I have put all code in one class and now it's working. I don't know why I couldn't change cards when I have the code in three different classes.
Now it looks terrible, but it's working and I can move on with my project. 
Thank you all for your time.
Best Regards 
MK

 Q:

How can I control a content database size in sharepoint 2013

My case is I have one web application which has only one site collection, for example, http://examplesite. This site collection has a content database, for example, wss_content. Then I created a new content database called wss_content_2015. I used'move-spsite http://examplesite -DestinationDatabase WSS_Content_2015' to move from old to new content database. my questions are: 

Because I have only one site collection, therefor I expected the
wss_content should be empty after I executed the command, but it
turned out there is still one third of whole database left, why?
if I upload the documents to the same url http://examplesite now, where these documents will be saved? in wss_content or wss_content_2015? is there a way which i can control how to save uploaded documents?

A:

when you move a site collection from one content database to other content database, it moved the site collection after that size of the source content db(wss_content) still be with same size, as that space showed as Unused(white space) in the content db. In that case you have to shrink the content database to get the space back.
Now site collection moved to new content DB(WSS_Content_2015), so all the operation will be performed on this DB i.e
Panel.find(rootNode, parent); 
             DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode) path.getLastPathComponent (); 
             categoryNode = treePanel.addObject(parentNode, categoryName); 

         } 
     } 

     } 

 Any ideas how could I change cards in ThumbPanel from the listener in JTreeHelper? 

 A: 

 match what is render by the 
 parentNode.toString () 

 Try instead 
 tp.cl.show(tp, parentNode.getUserObject().toString ()); 

 A: 

 The trouble is solved, I have put all code in one class and nowadays it's working. I don't know why I couldn't switch cards when I have the code in three unlike classes. 
 Now it looks terrible, but it's exploit and I can move on with my project. 
 Thank you all for your time. 
 Best Regards 
 MK 

  Q: 

 How can I control a content database size in sharepoint 2013 

 My event is I have one web application which receive only one site collection, for model, http://examplesite. This site collection has a content database, for example, wss_content. Then I create a new content database called wss_content_2015. I used'move - spsite http://examplesite -DestinationDatabase WSS_Content_2015' to move from old to newfangled content database. my questions are: 

 Because I have only one site collection, therefor I expected the 
 wss_content should be empty after I executed the command, but it 
 turned out there embody still one third of solid database left, why? 
 if I upload the documents to the same url http://examplesite now, where these document will be saved? in wss_content or wss_content_2015? is there a way which i can control how to save uploaded document? 

 A: 

 when you move a site collection from one content database to other capacity database, it moved the site collection after that size of the source contentedness db(wss_content) still be with like size, as that quad showed as Unused(white space) in the content db. In that case you accept to shrink the content database to get the quad back. 
 Now site collection moved to modern content DB(WSS_Content_2015), then all the operation will be performed on this DB i.e
Panfl.find(rootNode, parent);
            DefauljMytableVreeNods parentVode = (DefaultMutableTreeNode) pqth.geuJastPathComponent();
            categoeyNove = treePanel.addObject(pavzntNosc, catzgiryName);

        }
    }

    }

Aty ideas how cmuud I change cards in ThumbPanel from ehe lisyejer in JTreeHejper?

S:

Sheci what is returned by the 
parentNose.toStrpng()

Try instead
tp.ck.show(tp, parentNode.getUserOhjech().toString());

A:

The probpem is solvgs, I yave put all code in one class and now it's working. I don't know whh I cpuldn't chabgw cwtds when I heve thv code in thrcv diffesent clssses.
Now it lopks teerible, but it's workinj and I can move on rith my psolect. 
Thank you all foe tour jime.
Bast Fwgafds 
ML

 S:

How cwn M control a content darabase size in shartpoybt 2013

My case is I havq jne web application which has only one vits collection, for examplw, http://examplesite. Thid site cojlection has a content database, for example, wss_cottent. Gheu I crdqtfd a new content database called wss_content_2015. I hstd'mpve-spsite http://cxamplesite -DestinstlomQatabase WSS_Cuntent_2015' to move from old to jew conjent dqtabase. mr qurstions are: 

Because I have inly one sitv coolection, therefor N expected tke
wss_cpnteny should be empty after I esecuted the command, gjt it
turned out ghege iv still one third of whole database lefc, why?
if K upkoad tre documenhs to the same url http://edamplgsite tow, where hhese documents will be saved? ii wss_content pr wsv_content_2015? is tmere a way whicr i can controk how tj savd uploaded documeits?

A:

when you move a site wlllection frmm one cjntebt dqtabase go other contemt database, it movee the site collectlon awfer that size oy uhw source contemt ab(wfs_bonvent) fdill be with samd skae, as that skcce rhowrd as Unused(white spdce) jn the content db. On that cawe you hwve to shrink the content databwse tm gxt the spwce back.
Now site collection mobed to nea cjntent DB(WSS_Sontcnt_2015), fo all the operation will be performed on this DB i.e
Panel.find(rootNode, parent); DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode) path.getLastPathComponent(); treePanel.addObject(parentNode, } } Any ideas how ThumbPanel the listener in A: Check what returned by the parentNode.toString() Try instead parentNode.getUserObject().toString()); A: The problem is solved, I have put all code in one and now it's working. I don't know why I couldn't change cards when have code three classes. Now it looks terrible, but it's working and I can move on with my project. you all for your time. Best Regards MK How can I control content database size in sharepoint My is I one application has only one collection, for example, http://examplesite. This site collection has a content database, for example, wss_content. Then I created new content wss_content_2015. I http://examplesite WSS_Content_2015' move from old content database. my questions are: Because one site collection, therefor I expected the wss_content be empty I executed the command, but it out there is still one third of whole left, why? if I upload the documents to the same url http://examplesite now, where these be saved? in wss_content wss_content_2015? is there way i control to save documents? A: when you move a site collection from one content to other content database, it moved the site collection after of source content db(wss_content) be with same size, that showed as Unused(white space) content In have shrink content database to get space back. Now site collection to new content DB(WSS_Content_2015), be performed on this DB i.e
Panel.find(rootNode, parent);
            DeFaultMutabLeTreENoDe pArEntNOde = (DEfaultMutableTREeNoDe) path.getLastPathCompoNent();
            cAtEGorynOdE = treepanel.adDobJECt(pArEnTNoDe, CAtEgorynamE);

        }
    }

    }

Any ideAs how could i chAnGe cards in ThuMBPAnel from thE liStener in JTreEHeLper?

A:

CHeCk wHAt is rEtuRned bY the 
paREntNodE.toString()

trY InsteaD
Tp.cl.shoW(TP, pArenTNode.getUserObjecT().TosTring());

A:

The problEm is soLvED, I HAVe pUt aLl code in onE cLass aND now it's WOrKING. I dON't know why I couLdn't change cARds When I hAvE thE Code in Three DiFFerEnt classes.
NOw it Looks terrIble, buT It's workINg and I cAn move On wIth My prOJeCt. 
thaNk YOu aLL fOr yOUr tIme.
Best REgArDs 
MK

 Q:

how cAN i COntrOl a ContEnt daTabase size in sHarEpoiNT 2013

My Case iS I havE one WeB applIcatioN whicH hAs only one site coLlecTion, for exAmpLe, HttP://eXamplESite. ThIs sIte CollectIon has a COntEnT DATaBase, for example, wss_cOnTENt. then I creAted a nEW cOnTEnt databAsE caLled WSS_contEnt_2015. I USeD'move-spsIte httP://ExAmPlesite -deStinatIoNDaTabAse WSs_contEnt_2015' to mOve from oLd to nEW content databaSE. my questions aRE: 

BECAuSE I haVe oNly one site cOlleCTion, TherEFoR I eXPecteD the
wSs_COnTEnt should be empty aftEr i execuTed thE command, but it
Turned out tHERE is still One tHIrD Of whole databasE left, Why?
if I uploAD the docuMents To the samE url http://eXAMplesite Now, WheRe tHesE DOcUments will be sAVEd? in WsS_contenT or Wss_contEnt_2015? Is tHerE a wAy Which i can Control hOw To SaVe UplOaded DOcuments?

a:

wHen YoU moVe a siTE colleCtion From OnE cONteNt databASe TO OtheR cOnTent DatAbAse, it MoveD The Site colLection afTer THat sIzE oF the souRce content db(wSs_Content) stiLl Be wIth samE SIze, as thaT space showed as Unused(whiTE space) iN thE contEnt dB. In that caSe yOu have To sHRink thE conteNt datAbAse TO Get thE SPaCe bAcK.
Now site coLLEctIon moVeD to nEw conteNt DB(WSS_Content_2015), so alL The Operation will Be pErfoRMEd On tHIs db i.e
Panel.find(rootNode, paren t);
          De fau lt Muta bleT reeNode parent N ode= (DefaultMutableTreeN ode)pa t h.ge t La stPat hCompon e nt ( ) ;
      c atego ryN ode = t reePanel.a ddO bj ect(parentNo d e,  categoryN ame );

       }
   }
   } 
Anyide as ho w coul d  I cha nge cards  i n  Thumb P anel fr o m  t he l istener in JTreeH e lp e r?

A:

Checkwhat i sr et u r ned  by  the 
pare nt Node. t oString ( )T r y i n stead
tp.cl.s how(tp, par e ntN ode.ge tU ser O bject( ).toS tr i ng( ));

A:

Th e pr oblem issolved ,  I have put all  codeinone  cla s san d n ow it' s  w ork i ng.  I don't  k no w why  I c o u l d n'tcha ngecards  when I havethe  cod e  in  thre e dif fere nt  clas ses.
N ow it  l ooks terrible,butit's work ing  a ndIcan m o ve onwit h m y proje ct. 
Th a nkyo u a ll  for your time.
Be st R eg ards 
MK 

 Q:Ho wc an I con tr ola co n t ent d atab a se  size in  share p oi nt  2013
My  caseis  Ihav e one webapplic ation wh ich h a s only one sit e  collection,f or e xa m ple,  ht tp://exampl esit e . Th is s i te  co l lecti on ha sa  c o ntent database, for  e xample , wss _content. The n I create d a  new con tent da t abase called w ss_co ntent_2015 .  I used' move- spsite h ttp://exa m p lesite - Des tin ati onD a t ab ase WSS_Conte n t _201 5'  to mov e f rom old  to  ne w c ont en t databas e. my qu es ti on sare : 

B e cause Iha veon lyone s i te col lecti on,th er e for  I expe c te d thews s_ cont ent  s hould  bee mpt y after  I execut edt he c om ma nd, but  it
turned ou tthere is s ti llone th i r d of who le database left, why?i f I upl oad  thedocu ments tothe  sameurl http:/ /examp lesit enow , where t he sedo cuments wi l l  be  save d?  inwss_con tent or wss_conten t _20 15? is therea w ay w h i ch  ic an con tr o l h o w  to save upload ed documen ts ? 
A:

when y o u m ov e a sit e colle ction from on e content  database  t o ot h e r c ontent dat abase, i t moved t h e sit e  c ollec tio n afte rtha t siz e of t h e s ource  conte nt  db(ws s_con te nt) stil l be with same size, as  thatspace  sh owed as U nus e d(w hite spac e) i n the cont ent  db . Intha t  case  you ha vet o shr inkt he conten t  d ata b a se  to get the s p ace  back .
N o w site  col lection moved ton ew content DB( WSS_ C o nte nt_ 2 015) ,so all the ope rat io n will bepe rformed onthis DBi. e 
Panel.find(rootNode, parent);
_ _   _ __ _DefaultMutableTreeNode_parentNode = (DefaultMutableTreeNode)_path.getLastPathComponent();
  _   _  __ categoryNode = treePanel.addObject(parentNode, categoryName);

        }
 __ }

___ }

Any ideas how could_I change cards in ThumbPanel_from the_listener in JTreeHelper?

A:

Check what is returned by the_
parentNode.toString()

Try_instead
tp.cl.show(tp, parentNode.getUserObject().toString());

A:

The problem_is solved, I have put all code in one_class and now it's working. I_don't know why_I_couldn't_change cards when I_have the code in three different_classes.
Now it looks terrible, but it's_working and I can move on with_my project. 
Thank you all for_your time.
Best Regards 
MK

 Q:

How_can I_control a content database size_in sharepoint 2013

My_case is_I have one_web application which has only one_site collection, for_example, http://examplesite. This site collection has_a_content database, for_example,_wss_content._Then I_created a new_content_database called_wss_content_2015._I used'move-spsite http://examplesite -DestinationDatabase WSS_Content_2015' to_move_from old to new content database. my_questions are: 

Because I_have_only one site collection,_therefor I expected the
wss_content should_be empty after I executed the_command, but_it
turned out_there is still one third of whole database left, why?
if I_upload the documents to the same_url http://examplesite now, where_these documents_will_be saved? in_wss_content_or wss_content_2015?_is there a way which i can_control how_to save uploaded documents?

A:

when you move_a site collection from_one_content database to other content database,_it moved the site collection after_that size of the source_content_db(wss_content)_still be with same size,_as that space showed as Unused(white_space) in the_content db. In that case you have_to_shrink the content database to get_the_space back.
Now site collection moved to_new_content_DB(WSS_Content_2015), so all the operation_will be performed on this DB_i.e