32,199 Topics
| |
I am going to start learning about Spring framework. Please tell me from where i can get good tutorial for learning same with example. please send me(Suggest me) links or material regading Spring, so i can learn it in better way. Thanks a lot. | |
Please note I AM not a programmer, i run my own company. trying to built calculator by myself. I have software background but someone helped me write this code. Its working but not showing the calculations. If someone can reply me with solution or new code that will be great. … | |
int d=num%10; rev= (rev*10)+d; num=num/10; //Why is it reverse? please explain. | |
Here is a section of code from a MODEL class of the MVC Framework: public TableModel getTableData() throws SQLException { try { String sql = "SELECT date as 'Date',eventName as 'Name', time as 'Start Time' FROM Event"; pst = conn.prepareStatement(sql); rs = pst.executeQuery(); TableModel model = (DbUtils.resultSetToTableModel(rs)); return model; } … | |
Heloo, could you please help me? its really urgent as this is my project. In this code, i want to total up number of people who are pending in this category. Then link it to another page. When going to the link page, it will retrieve the name of the … | |
Is this possible? I've tried Runtime.getRuntime().exec("javaw.exe <COMMAND_ARGS> \"" + wu.getCurrentUserDesktopPath() + "/file.txt \""); This is a personal learning experience for me. As I am a self-taught. | |
Hi friends, What is RAR file in j2ee. Please give me directions to creatre RAR files. Please help me. Thnaks & Regards Jasonmark | |
Hi, I am not able to understand DSW ALgirthm Its process of creating backbone or vine and creating balanced Tree. By rotation of Vine(BackBone) what is being said I couldnt Understand. Read few articles but Couldnt Understand Much. Can some one explain me about DSW Algorithm. And Also I tried … | |
Hi all, finally following the advice on this forum I got hold of the Deitel and Deitel java how to program 9th edition! Great book I must say so far (only got to chapter 3). Now, I am doing some of the exercises as I go along, and today I … | |
Hello, This doesn't seem to fit any particular forum, but I thought it might fit best here. I need to be able to add Java syntax highlighting functionality to a form on an internal website. Does anyone know of a syntax highlighting framework that supports Java and can be embedded … | |
Hi, I am new to this forum having a limited experience in programming(only simple C++ and basics of Java) May some willing person help me the steps to make real applications(mobile or computer) using this programming language? ` | |
This code works fine but it would be too long if the score is 50 or over. Is there any way to make it shorter and quicker? I tried to use for loop statement but it didn't work well. background(backgroundChange); if (score >= 5 && score < 10) backgroundChange-=0.8; else … | |
java mobile applications are what i need to specialize within the next 6 months. if so can I? how? i know the basics of java programming. | |
Hey, I'm making a simple moving car at night with its headlight bulbs and I'm using PROCESSING software, not java. What I tried to make is when the car touches the right border, the headlight bulb of the right side of the car should be changed to the left side … | |
public class EventView extends javax.swing.JFrame { Connection conn = JavaConnect.ConnectDB(); PreparedStatement pst = null; ResultSet rs = null; private EventModel model; /** Constructor */ public EventView(EventModel model) { initComponents(); this.model = model; updateEventTable(); } public void addEventListener(ActionListener al) { addEventButton.addActionListener(al); } /* public void clearListener(ActionListener cl) { clearEventButton.addActionListener(cl); }*/ public … | |
I have a problem with this... import javax.swing.*; import sun.audio.*; import java.awt.event.*; import java.io.*; public class PikaPlatformer { //----------------------------------------------------------------- // Creates and displays the application frame. //----------------------------------------------------------------- public static void main (String[] args) { JFrame frame = new JFrame ("Direction"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add (new PikaPlatformerPanel()); frame.pack(); frame.setVisible(true); } } How … | |
Hi, I am trying to build a Music player in Java using Jlayer Library. Hi am using AdvancedPlayer and its play() method for playing song. It plays the file but i does not stop until song is finished even Stop button is not pressed,window listener doesn/t works. I am unable … | |
Returns true if the string represented - by the object it is on the same string is represented by the object str. Otherwise false is returned. This system must write the recursion without using any loops. So I did it and it looks like this: public boolean equals ( StringList … | |
Salut à tous. j'ai essayé d'installer apache solr serveur pour mon drupal, mais j'ai le message: "unable ti access jarfile start.jar". après mes nombreux essais, j'obtiens: "invalid or corrupt jarfile C:\[suivi du chemin de monfichier] j'ai besoin de l'installer. et rien des réponses que j'ai pu lire ici ne m'a … | |
import java.util.Scanner; public class Homework1 { /** * @param args */ public static void main(String[] args) { Scanner scan = new Scanner(System.in); final int ROW; final int COL; int integar; int total; System.out.println("Total number of rows: "); ROW = scan.nextInt(); System.out.println("Total number of colums: "); COL = scan.nextInt(); int [][] … | |
Hey, I have the following code in C-Sharp: byte newByte = byte.Parse(hex, System.Globalization.NumberStyles.HexNumber); What's the equivalent in Java ? Thanks ! | |
I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float … | |
I'm trying to display a few Jlabels in the output of my actionlistener. I have a combobox included in the fields I needed added. i attempted to use a Jtable but had issues getting the selected item from the combobox. I choose to this method because I had already had … | |
Hi, The question might be little confusing. I have recently joined smart card testing team and its all new stuffs to me. I need ur help in suggesting suitable IDE for writing test cases to test SIM OS & related applications. I insert the Native SIM card into card reader … | |
I am trying to make a guessing game that lies one-third of the time that the guess is too high (it says it is too low when it is actually too high). And it never lies about the guess being too low, nor does it lie twice in a row … | |
public static void nonRecursiveInorder(Node node) { Stack<Node> st=new Stack(); st.push(node); Node temp; while(!st.isEmpty()) { temp=st.peek(); if(temp.left!=null && temp.left.visited==false) st.push(temp.left); else { if(temp.left==null && temp.right!=null && temp.right.visited==false) { System.out.print(" "+temp.value); temp.visited=true; st.pop(); st.push(temp.right); } else { if(temp.left!=null && temp.left.visited==true && temp.right!=null && temp.right.visited==false) { System.out.print(" "+temp.value); temp.visited=true; st.pop(); st.push(temp.right); } else … | |
Hey Guys , can i just get some help with my dialog box , a sterr in the right direction wil be brillant . Thanks guys import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; … | |
Just looking at my entries in my Process Explorer and I noticed the JAVA updater was in there. I turned that off. So I went back to the JAVA console and indeed it was on. I turned it off and it gave me a warning and again I chose to … | |
Hi, I have a working program and I need to answer the following questions: 1:where was polymorphism was used in this application? 2:identify where overriding or overloading was used in this application? I belive overriding is used by the Runnable method to override the run() method. Would that be a … | |
HEllo everyone... My project consists of drawing a road two lane road using grahipcs the code snippet below is for drawing the road however if someone can help me in executing theses codes on an interface woud be great because i dont know how to do it Cheers public Road(int … |
The End.