32,199 Topics

Member Avatar for
Member Avatar for jalpesh_007

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.

Member Avatar for jalpesh_007
1
167
Member Avatar for gudads

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. …

Member Avatar for code739
0
116
Member Avatar for dannyboy.rizaldo

int d=num%10; rev= (rev*10)+d; num=num/10; //Why is it reverse? please explain.

Member Avatar for JamesCherrill
0
26
Member Avatar for 03hasnam

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; } …

Member Avatar for JamesCherrill
0
287
Member Avatar for farah90

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 …

Member Avatar for JamesCherrill
-1
119
Member Avatar for Jimbo_Dew

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.

Member Avatar for JamesCherrill
0
242
Member Avatar for jasonmark238

Hi friends, What is RAR file in j2ee. Please give me directions to creatre RAR files. Please help me. Thnaks & Regards Jasonmark

Member Avatar for rubberman
-1
126
Member Avatar for sbharathind

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 …

Member Avatar for rubberman
0
240
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
313
Member Avatar for dmanw100

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 …

Member Avatar for dmanw100
0
177
Member Avatar for Yidnekachew.

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? `

Member Avatar for JamesCherrill
0
250
Member Avatar for boiishuvo

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 …

Member Avatar for JamesCherrill
0
187
Member Avatar for Yidnekachew.

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.

Member Avatar for mlesniak
0
90
Member Avatar for boiishuvo

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 …

Member Avatar for bguild
0
262
Member Avatar for 03hasnam

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 …

Member Avatar for JamesCherrill
0
136
Member Avatar for minime010

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 …

Member Avatar for minime010
0
506
Member Avatar for prashant1111

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 …

Member Avatar for JamesCherrill
0
300
Member Avatar for YaLeon

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 …

Member Avatar for mvmalderen
0
173
Member Avatar for lailadah

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 …

Member Avatar for lailadah
0
875
Member Avatar for LegendX

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 [][] …

Member Avatar for JamesCherrill
0
191
Member Avatar for liran

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 !

Member Avatar for liran
0
1K
Member Avatar for boiishuvo

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 …

Member Avatar for margaret224
0
318
Member Avatar for Blink383

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 …

Member Avatar for Blink383
0
284
Member Avatar for anukavi

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 …

0
74
Member Avatar for ng5

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 …

Member Avatar for bguild
0
448
Member Avatar for sbharathind

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 …

Member Avatar for sbharathind
0
217
Member Avatar for Murphyv10

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; …

Member Avatar for stultuske
0
195
Member Avatar for Leo G

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 …

Member Avatar for Leo G
0
182
Member Avatar for jeffbeck8

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 …

Member Avatar for jeffbeck8
0
297
Member Avatar for Hameeda0410

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 …

Member Avatar for JamesCherrill
0
902

The End.