Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need some help with given code . For a presentation , I need to explain this code . Can some one give me the
I need some help with given codeFor a presentationI need to explain this codeCan some one give me the explanation
JLabel lblPayHour new JLabelPay Hour :;lblPayHour.setFontnew FontTimes New Roman", Font.BOLD, ;lblPayHour.setBounds;paddlblPayHour;JLabel background new JLabelNew label";background.setIconnew ImageIconbgdpng;background.setBounds;paddbackground;try BufferedReader reader new BufferedReadernew FileReaderfile; int totalLines ; while readerreadLine null totalLines; readerclose;for int i ; i totalLines; iString line Files.readAllLinesPathsgetfilegeti; String x line.substring; if xequalsUser"String userN Files.readAllLinesPathsgetfilegetisubstring;String skill Files.readAllLinesPathsgetfilegetisubstring;String address Files.readAllLinesPathsgetfilegetisubstring;String pay Files.readAllLinesPathsgetfilegetisubstring;txtFatimaBegum.setTextuserN;txtCooking.setTextskill;txtStreetRoadDhaka.setTextaddress;txtTksetTextpayTK; catch Exception ex return;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started