23 Solved Topics
Remove Filter Hello There! Im trying to study php on my own. But i have a problem installing "xampp". So please help me. this keeps on showing: 10:27:35 AM [mysql] Expected Path: d:\xampp3\mysql\bin\mysqld.exe --defaults-file=d:\xampp3\mysql\bin\my.ini mysql 10:27:35 AM [mysql] Problem detected! 10:27:35 AM [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" … | |
It is relaed to the thread i posted a while ago. Before I edited the model of my table, it was working properly, but when i added some columns thats when the problem came out. Everytime i click the button that will open this window, it goes blank. Only a … | |
I am planning to create a table where everytime i add a row, a checkbox inside the table will also be created, will that be possible? And i am using window builder. If it is possible, can you give me some instructions how to do it? I did my research … | |
Hello guys, i created a method that would set the value of my string so that when i pass it to another class, it would still contain the needed value: This is the first class: public Student getSelectedStudent(){ Student selectedStudent = new Student(); DefaultTableModel dtm = (DefaultTableModel) tblListOfStudents.getModel(); String studentNum … | |
Hello! i need to filter the searched data in the database sql and display it on the table. But i keep on getting tis error: java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(Unknown Source) at app.SearchByKey.SearchStudentNumber.SearchStudentRecordReader(SearchStudentNumber.java:38) at app.ui.ListOfStudents.updateSearchTable(ListOfStudents.java:159) at app.ui.ListOfStudents$3.keyReleased(ListOfStudents.java:105) at java.awt.Component.processKeyEvent(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) … | |
Hello guys, im trying to self study about connecting java to mySQL database. it's been a while since i used java, so i forgot some of the codes a little, and im also not so good at it. So im trying to connect, been copying and pasting codes trygint to … | |
im not sure if this is the right place to ask but since i dont know any person who is expert on computers personally, i went here. My mom bought me an ideapad LENOVO laptop with Intel(R) Core(TM) i3 CPU m 370 @4.20GHz and ram= 2.00GB i didnt ask for … | |
hey guys i have done my codes and its working properly the only thing that's bothering me is that' when i input 52 and 'a' as my name, it wont ouput the right answer (it should be 'a' also) i hope you guys can help me thanks! public static void … | |
> Hey guys! good evening! > hope you can help me with this one. > this is the thing that i want to do!: > > -Input 2 values : 1 string, and 1 int > -the string should have only letters (cant contain numbers!) > -encrypt the string using … | |
Guys Good Day. I am trying to figure out how to reformat our computer using windows 7 but it seems that i did not succeed on my first attempt. My classmate gave me a dvd, installer and i did the things that the tutorial told me to do but then … | |
Hello im a beginner and i want to know how to reformat my computer using Windows 7 ultimate, please teach me the step by step procedure i have here cd's of nvidia and emaxxx i dont know what is that should i install those two things before reformatting the computer?? … | |
hi, our final exam will be on next week, i want our program to be different may i ask how to put colors on texts of JOptionPane on the background and how to change font size and style and how to put sound effects.. please make it easy to understand … | |
i was watching a tutorial about bubblesort, and i followed all the instructions the difference is that the tutor is using System.out while im using JOPtionPane, please help me thank you help me find my error and help me run it correctly! [CODE]public static void main(String[] args) { // TODO … | |
[CODE]public class Array { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String ctr=""; int size= Integer.parseInt(JOptionPane.showInputDialog("Enter any 10 numbers:")); String num[]= new String [11]; for (int i=1; i<=size;i++){ num[i]=JOptionPane.showInputDialog("num["+i+"];"); ctr=ctr+num[i]+ " "; } JOptionPane.showMessageDialog(null, ctr); } } [/CODE] thats my code, … | |
this is the code that i did: [CODE]import javax.swing.JOptionPane; public class MidtermExam { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int x; int y; int z; int count = Integer.parseInt(JOptionPane.showInputDialog(null,"Enter any Number:")); for(x=1;x<=count;x++){ for(y=x;y<=count;y++){ System.out.print(x+""); } System.out.println(); } } } [/CODE] … | |
My assignment is to create a program that accepts a list of exam scores (ranges from 0-100) and output the total number of grades and then the number of each in letter grade.. but my problem in the beginning of doing my program is: [CODE]public class Grades { /** * … | |
whats the error in here? everytime i run this program even though there are no red underlines and signs still, it say theres an error in here ... and how can i do the same program using if else statement? i have started doing if else but my program its … | |
why is that some of the codes that i put in are not being implemented when i run this?? i mea, the cycle of my program doesnt seem to be flowing the way i want it to be, come take a look :( [CODE] { /** * @param args */ … | |
i dont know that my error is, my code for balance is not working properly and im having a problem with my if else statements, they say i lack this "{" but i dont know where to put it [CODE] { /** * @param args */ public static void main(String[] … | |
[CODE]class DoWhileDemo { public static void main(String[] args){ int count = 1; do { System.out.println("Count is: " + count); count++; } while (count <= 11); } }[/CODE] can someone please rxplain to me how does Do while statements work? and how can i use it in my program?: [CODE]public static … | |
im trying to do a program like this: i need to do a program like this: Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an option then i should proceed here if i choose b: YOur Balance is __ if … | |
HI im a student and our professor asked us to convert a number into word: example: input= "1" output="one" i need to have numbers from 1-10,001 so my program will end up very long if i only use if else statement i know that there are other methods other than … | |
So here it is, this is my new problem, we were assigned to create a simple ATM Machine: Automatic Teller Machine [B] Balance Machine [D] Deposit [W] Withdrawal [Q] Quit Select you option: (input letter here) when i choose balance this window should pop out: Your Balance is 0.00 OK … |
The End.