You are on page 1of 49
Ey Impory Qa «lan. % 5 impor Jove, awn; gape ajan't Vad main (Sr Frame f = new Frome ('! Good” Ji Rwiton f.=new Builon (" OK"); Label 1, = new Label Cname"); TextField He new Textfield (> TexiArec ta= new Textfirea CD; F.cet8ire(s00, 2009; FSetlayowC new FlowLsrow C7); F.Servisible (true );, feadd C Bi); Fads (46.7; f-aad (4); f. add Ga,) be spac a2) & een ial) mee NIL. Practical Related Questions. Note: Below given are few sample questions for reference. Teacher must design ‘more such questions 50 as (0 ensure the achievement of identified CO. I. State the difference between CheckBox and RadioButton 2. Write the use of setEnabled) method. 3, Draw the life eycle of an Applet 0 BulioN) For Single gelethion Selech ons re has checnbox cue clogs check 20x yejnod 1S “Sed fo Make A Component yyeulabte and term to Mae iE available Sree ae Pera een ee ra syelcome (Uta XII, Exerc ogsam using Label lo display message "Welcome 19 Fereee rogram to select multiple languages known 10 Ussea Gcesiy find, English, San 3. Rrra To create three Buttons with Caption OK, RESET and CANCEI Imposs roWa Lomty 5 \meorh Joya Qwr- Ky closs 6g i pulic stabve void moin CSrriny 63 oor) & frome f=new Frame C); Laeeh Li = new femme Label Ge Wal +o yavu "7 F. GetSire (200,200); a F setlayout(new PlowLayoure)}5 F-sejisibie (tsue); ‘§ Fadi); lel come 10 ya, CCCs) ected mpost ; JOE + CALs im povt java. Levegt alors WE public Stake votd med frome ( =nex) Botion Burton frened Gutten('t ou") Br = neo Button ("cance"); Buon By "b2).c-ad4'e"b3); with 40 hor space and 30 ver sf era x. xI ramming (22517) public void actionPerformed(ActionE:vent €) t card.next(); ) public state void main(String{] ares) { CardLayoutExample cl=new CardLayoutExample(: elsetSize(400,400);, cl.setVisible(true)s cl.setDefaultCloseOperation(EXIT_ON_CLOSE); xi. Result (Output of Code): Ass aa Cone Liang Siena wh *. 1 A = Whats NOMA SENS ee Nil, Practical Related Questions Note: Below given are few sample questions for reference. Teacher must design snore such questions so as fo ensure the achievement of identified CO. 1 'State difference between GridLayout and GridBagLayout. 2. Explain constructor of GridbagLayout. (Space for answer) Alatoud...uks. cdl. he,..Gemganeats. 4 Mit. 2qudl...5i22..recdngle...amd..calls Come slated. inane seeelsmngle.. lala. adIBanLatouds 38s he Laqout..eeamader...Anctk aN Mens ts. Jaeareern Ae w cn.gannennhS «Wa Sree £). SOND Caw ema 00 ROS -Fsamne. £2 NeL0... Pramec Swton..Pa.s 0612. Auton. C Bunion losses Bution.6us.ne Bubton (Guten. ..6048 Pulm. bs...=neu.. eatin. C!! burton. Eis E Goblen eet : . Gd Banlad oud. Gua =m? Grradaglereuat): GcaQan Constycnhs....ylat.= Mets. ats ConStxainds) eas Covad, Fes] Ao.c.oricl 9¢ Bow.onid.22 £984.51). Biot. omnia. Hs Omid =. ie i fe GAA CREDA. Qrec.rdae. 21 loc...ay6. AMF. AddCGd).).. “iva Gare Boar Testes duet Sree aay era ___Menuforr mbps news M Aenu Bors Meny mne nest Meny(” clon) ____Menufien oains Sere = er a etn om 4 rain = mm add ig), _ ao xn) (Give (oa £60 add Ge Mewahar nk) 2 €. cehllieils si) svoud Mo Sree aa Pera RE eae 2025 09 15 11:51 rmnadd(mt); mnadd(m2); mnadd(m3) rmn.addSeparator() mn.add(m4); mb add(mn) public statie void main(String{] args) MenuDemol md=new MenuDemol() imd,setVisible(true): Figure? (Space for Answer) Aranereed... sancti! Java \aney, Evrae: Une sovved eC Cloolean ) t5 4 For..tne APE... EN DEM.L i Cen ude \.9. 00.225) apres Commneeton, in precnem.. Ally C5 Sows... coo uhanae pacemy oF Shoei sore Visilore CAMEO... ) doer Riot meyy..Prame. vayde >. Ax we Mane 10 Sree aay ert aE swing hy Hemoc() o_ Rael. eran J CompaBor ch = ned JCombsitexO); Cho-add Prem"! Sela puns!) Ch-odfl rem CU gune")s cbs -odd Lem’ Booal a5 ~ odd‘Trem C/ Mural Slabed 1 = nei Shedved (YOu are in Mumbo re __f- sek Layour( Tew f \eurlosy Cuno, woods ~T fumbal [7 Solagut Sree ae Porte aE) eee _ XI. Result (Output of Code): XII, Practical Related Questions Note: Below yiven are few sample questions for reference. Teacher must design nore such questions so as to ensure the achievement of Wlentified CO. 1. State the difference between AWT and Swi 2. State the features of Swing Name the method to obtain ContentPane in swing. (Space for answer) Muoodbl-....\vex.cind, feel. pave chi kectune. ciate yinleighht... S92 00.0 Ae plot égen...... independent: | Gok eee eS )._-nawernced...Gestlure... Shela. ste a) Kubdoed. yang RACs ya Exercise 1. Write a program to develop @ frame 1o select the different states of India IComboBox 2, Devclpa program io demons ihe we of SerollPane in Swings S| ba Swe Ky. PEC IR...OVO 2 Ont 3 Chon. AS. HCL Jia, £ snew Fam, on ODMPY BOX... = eM Cl nadditeny C1 WM a 4 Feet Dell ee ch: “ad ‘Tem AG Caan sate Board of Technical Education > mr Jove awh FiedLayout ; ry Jovay. Swim. Game 5 Quvax. Corny )Sevarlgane} fy . DANA: Sumy, +) feetfnen KC class JScror|panekxamele & privare cane Ona lony Ser iaversiontcn ath Privare Sathic vord, creatke And chomsGuTl) & FRO Qrame Romecnew Came) 5 Fame SetSine (soo (SOD; Frome ser Viste (4s4e) / Fae sate ur Cerot aag onl Text fren + Seb Hosteoy teu ius AL—SCRO LUBA — ALIA, Seso\ valle Text Prsea set VERT LCALS res VERT CR sctolaae Av) @Qrave Sine Wr.” OMNEHMG)-2.- MOA!) Stour Lato, C202... OD). 3 4 a o 2 < 6 3 i G ae € Baan Crirobeard Ig ewjee1u0 04s EREEN Pee Ont si cwi02s | nas 7 aa Dass 1D ager | a Figure 9 Result (Output of Code): |. Practical Related Questions Note: Below given are few sumple questions for reference. Teacher must design ‘more such questions so as to ensure the achievement of identified CO. aton() method. es used to implement JTree programs (Space for answer) 5a. concert, ed.i1...90..G9N.S..sNEAM OLS « 1.40. cisploy...1ewarthai Cou... WC. 1. .Omders.._54. tos. 700. name...wkach. is {he..Os MOAE..LN ANE NOx... PACINO. (hed AM... psOcAADINY....NCA ley... uta hos. 49 hoe...clidp.lacted 5 method. is.snhed..cre.qnanslate...\ne.J¥od CHES. .POMEOL. Anes: CEATO AO aulres..R Canin, 6h.anise.netined ..15..as..a3veM...eclo q crxeefath. gctPatn FexLocahenn. | alhere..re.cnd.sy.... 98. tine... oomeincales nc. MOUSE. .5.,Clucked An. THEE. Seepath..-.an..dacch.cthe, Ri apreetlode....chicked My Jara sate Doan oF Teehnieal Edacation tnt OETOae D__Am pos k...0sessr mee) impor DANA. to a 1 show roat directory and its subFolders of your System rite a Jee program t (Space for answer) >. DeFaM.t: Mullet f eclade nes. p cota a =) Oxf etc uey 2 Ig ewjeai uo joys ERE Pee MBC sa cWjoos | -— aA a ok \ | LATA | WmMgolt Mee Peni opi Ig ewjee1 Uo ous EMSS 2517) ynming (22517) ___— Java roe ‘Advanced et 5 XI. Result (Output of Code): XIL._ Practical Related Questions Note: Below given are few sample questions for reference. Teacher mus ‘more such questions sows to ensure the achievement of identified CO. 1 erclass of JTable component. 2. How tows are inserted in table, 3. How toadd JTable to JPanel ? (Space for answer) 4 stompondM. it close yp 88...ATeulde, Com fanen... Sa ial Fucaton| Maharastra sate Boma oto Wain sae Board of Techy Sta ie Advanced Java Ths... iNSemh Bowe. Acs ane. WOM... Je \ y 5 ae EN). Male. f YN. E.... A D2... MOEA E, * CAEASAAf, ANeacked..c-e Ave...B 9.0... 8... SiO: Oh. EINER. MS. XII. Exercise 1 Write a Java program to create a table of Name of Student, Pereentage and Grade of 10 students using JTable (Space for answer) ee RES casi) wing hd advanced ve Prose pe Qavax.S! waren. be ol oac...\all & snl fo Gum. “Sing. eg.£.d.% 6 @ 3 S 2 € a 8 H a References/ Suggestions for Further Reading, 1. hitps://www,javatpoint.com https://www.tutorialspoint.com/java the complete reference Java 2 by Herbert Sehildt Weightage 70% +I je formation 30% De ability Follow ethical practices Product related (15 Marks) Expected output imely Sub Total (50 Marks) List of Students ‘Team Members rks Obt Process Product Related(3s) | _Related(15) Oe ‘Advanced Java Programm Xi. Result (Output of Code): nce, Teacher must desig Kun, Practical Related Quest, guasions for afer Nore: Below given are fow Same questions for referer, snore such questions 50 a5 £0 SINS the achieveme”™ of identified CO- mor sme different Orientation of PrOBTeSS Bar. 2. aplain the Purpose of setValueO J What isthe use of minimum and ‘maximum val 1e of progressbat- (Space for answer) a 2 = S 3 € a 8 s 5 =new Jtrome() J prerressbo CN) = nein (STM £9 main \STING CY ares ug public Stahic Vold = New 2C)> , Advanced Java Programming (2251 XIII, Exercise acre clop a program to demonstrate the use of vam using JProgressBar to show on Button Write a P user click (Space for answer) Janes b...D0NE..AWN.aks Honored... 0NO:. Se Anes). SON Class, Wg umolermemts....fict Semnrar ton... Ww.00.¢. Vrame...€. = ne Srl Wd) ey, ypescut c) rf 4 o a S 6 3 2 ca white CL 9 t =Twreed “Slee? Cs th Plo seryalueG ); Ww; q Cathe CExcernon er) 2 race xefion ad gusiem-our prt ( “Counted aig €\)) bi Func clots Proersess & public Sitttic Vor man (Sonat j W x=new WO); X-SeSie B2e,100); ~selvisible ({1Ue); Oru 2 B ey £ s Q 5 a ‘3 A 5 ee7=—"— Eta Rs Inputévent is super las OF KeyEvent. implement KeyListener interac ses the KeyEvent should te class which proces with a component. The object a st be regist istener () method hods of KeyListener interface: Met void KeyPressed(keyBventc): Invoked! whens ey is pressed oid keyReleased(KeyEvent ¢): Invoked when 8 key has been released seid keyTyped(KeyEvent e): Invoked when # Key has been typed VIII. Resources required (Additional) Nil IX. Resources used (Additi [_ Name of Resource Quantity | Remarks (If any No. 34s 1. Wri “ Pressed” mess Develop ap Imfort IANO “Ot ftm¢ars yOva+ art oe ra) Bie css, f implements KeyLiptenet $ tr Hed hs Teefielt3} Label le FarPrume nero Fame); 4 © Teres tetPiedcgy Beinsehbounds Cis, a0 2 , (00; Som ny Stet te Fy, add Keylistenes CHWs) ened LubdO) a, Re 1, serAlenmnenk (Lato CEATE yg ySaxGreC hoe Po @ = icf 3 a i) 6 rd co Result (Output of Code): al Related Questions ‘en are few sample questions for reference. Teacher mut uich questions so as f0 ensure the achievement of identified CO. any four Event Listener interfaces. the situation when all three events of KeyListener i st design ace are generated? (Space for answer) ven Lastenes \ubndow Listenes. soude teNey. Poet eens! XIII. Exercise 1. Elaborate the terms Event, Source and Listener. 2. List various methods of ActionListener interface. 3. Develop a program to accept two numbers and display product of two numb when user pressed “Multiply” button. (Space for answer) of ome (fe Board of Technical Education pub void mouse rFeree = { | setText("Mouse Entered"); 2 ol -xited(MouseEvent ©) = public void mouseEx! K E- { JisetText(" Mouse exited"); ked(MouseEvent e) } . public void mouseClicl € cetTent("mouse clicked(# of elicks:"4e.g0tClickCount())s } } XI. Result (Output of Code): XI. Practical Related Questions Note: Below given are few sample questions for reference. Teacher mus more such questions so as to ensure the achievement of identified CO. List various methods of MouseListener and MouseMotionListener Do all components generate the MouseEvent | Write the steps to obtain the coordinates of MouseClick Write the steps to register for MosueEvents Maharashira state Board of Technical Ea inieal Eduention

You might also like