Can someone help me create a telephone Calling GUI in NetBeans including number[
ID: 3568408 • Letter: C
Question
Can someone help me create a telephone Calling GUI in NetBeans including number[0-9],#,*,Call,Redial,Clear buttons and have event listeners associated with the these buttons on the GUI.The program should display some kind of text when you push or click on a button: "bound button was pressed." PS:it's Urgent. Thank you!
Explanation / Answer
private void userTextActionPerformed(java.awt.event.ActionEvent evt) { String str = evt.getActionCommand(); if(connected) sendMessage(str); else{ if((str.length() > 10) && (str.subSequence(0, 9).equals("")) && (str.charAt(9)== '')&& (!connected)) { clientName = str.substring(10, str.length()-1); userText.setText(""); startConnection();//sweet spot!! this is where i'm stack... }else{ chatArea.append("Invalid input if you want to connect please type '' "); } }Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.