32,199 Topics

Member Avatar for
Member Avatar for zyaday

I have a code that play's an animation on a JFrame.. On top of that, I have added a Jpanel with few buttons. my problem is, mybuttons are not visible on the animation screen until i hover a mouse on them?? what am i doing wrong..

Member Avatar for Ezzaral
0
114
Member Avatar for doods

Hi guys! Can someone help me with my problem? I'm really not that good when it comes to coding. My problem is that how can display the number of new records received. Well heres my code The code below is the function to get the record count on Inbox <CODE> …

Member Avatar for sciwizeh
0
83
Member Avatar for Hantra

All: For some reason all my users are able to access this one web page for our On-Demand Host to start a TN3270 session in a Java environment, but I have one person who cannot do it. I've tried absolutely everything, from trying a different browser, to reinstalling XP SP2, …

Member Avatar for jeffmg
0
95
Member Avatar for Aamit

[code]import java.util.*; import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; // Send a simple, single part, text/plain e-mail public class TestEmail { public static void main(String[] args) { // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!! String to = "vipan@vipan.com"; String from = "vipan@vipan.com"; // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!! String host = …

0
57
Member Avatar for Thirusha

Does anyone know how to change the look of the java files that are listed when you expand the java folder in the tree structure of the database? i have these numbers infront of the class file, but have no clue what they are, they are not there in toad(i …

Member Avatar for Thirusha
0
140
Member Avatar for HLA91

Hi All Im working on an exercise from a book im learning java with. It is a console app, i have to make a menu 1-4 and then evaluate what number the user entered, carry out the command and then return to the menu. My problem is that i tried …

Member Avatar for HLA91
0
143
Member Avatar for paurik

i wnt to integrate alfresco within liferay i.e running the alfresco as a portlet. . can anyone help me to solve it??

0
58
Member Avatar for diasmvds

Hi all, I have a folder structure like this. dir1 ---> conf ---> a.txt dir1 ----> dir2 ---> dir3 ---> Test.java How can I read a.txt file from my Test class ? How can I use relative path there? File newFile = new File ( "<how to specify the path>" …

Member Avatar for stephen84s
0
98
Member Avatar for ymf

Hi I have a simple code snippet here that writes to a file called Student.txt : [CODE="java"] import java.io.*; import java.util.*; public class Streams { public static void main(String[] args) { String studentFirstName = "Bob "; String studentLastName = " Smith "; String finalGrade = "A"; try { PrintWriter out …

Member Avatar for ymf
0
119
Member Avatar for Shanti C

I am newbie to java implementation... can any one tel me the oops concepts with real time examples.... thanks in advance...

Member Avatar for Shanti C
0
87
Member Avatar for bulger2503

Hello. Currently i am creating a small application that works around packets. The packets are sent every 600ms. Now my quesition is this: Currently i have this (An example) [code="syntax"] public class Example { private int exampleInt = 0; public void setExample(int i) { exampleInt = i; } public void …

Member Avatar for bulger2503
0
139
Member Avatar for shwetha_cs26

import javax.swing.*; import javax.swing.event.*; import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.border.*; import java.awt.geom.*; class proj extends JFrame implements ChangeListener ,Runnable,ActionListener //main class { // Declarations public int bottom; public Thread t; int padding = 4; JFrame f; JTabbedPane jt ,jt1; JPanel jp,jp1,jp2,jp3,jp4; JButton j,j1,j2; JLabel lab,lab1; JComboBox jcb,jcb1; //public …

Member Avatar for VernonDozier
0
168
Member Avatar for bloody_ninja

I am trying to create a program that generates random passwords using the characters A-Z and the numbers 0-9. It will also have an input of what you want the length of the password to be. What I don't know how to do is to create a method to choose …

Member Avatar for Alex Edwards
0
610
Member Avatar for harihar2

HI I want to find the difference between two XML files in Java. The result should be in XML file only. I don't need a tool. Rather I am looking for any open-source jars (like XMLUnit). XMLUnit doesn't return the difference in XML format. Any help would be appreciated. Thanks …

Member Avatar for sciwizeh
0
106
Member Avatar for newtechie

i am new to java and i was trying to solve a program, a) i wanted to print marks scored by 3 students in 3 subjects. b) i wanted to get the total marks scored by each student and find out the highest total marks scored. c)I also want to …

Member Avatar for Ezzaral
0
103
Member Avatar for Aamit

i want create java mail application... but when i read sample programs there is smtp server String mailHost = "your.smtp.server"; or smtp.gmail.com how i get this server or how to create smtp server in java?? example code plz for smtp server ??

Member Avatar for VernonDozier
0
129
Member Avatar for nokomis

Hi there! I am working on a project that requires a login screen (which I have done) and upon (hardcoded) authentication, would spawn another window which deposits the user into the game lobby. What is the best way to go about this? I have all my code finished for the …

Member Avatar for peter_budo
0
83
Member Avatar for giriking

how to convert jtextfield into appropriate form of string and store it in JDBC of oracle software I am trying to read string from JTextField and convert it into string and store it in oracle database

Member Avatar for nitinmukesh
0
88
Member Avatar for ravikiran032
Member Avatar for kumarprabu

Hello any one tell me how do i create the program for upload to server. plz any give some idea abt that which commend is ur for uploading file to server in which way can i handle that

Member Avatar for nitinmukesh
0
122
Member Avatar for codered152

Hi all I m working on this project where i need to get user input and then see if the user input is correct or not. if it is correct then show the user input in the label but if the user input is wrong then show user a warning …

Member Avatar for Alex Edwards
0
76
Member Avatar for your uptime

well guys i know you people are professional so can u plz recommand a best book of java which make me familier with java..thx

Member Avatar for peter_budo
0
73
Member Avatar for bloody_ninja

[code=java]package Ninja; import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.net.*; public class NinjaServer implements Runnable { public final static int NULL = 0; public final static int DISCONNECTED = 1; public final static int DISCONNECTING = 2; public final static int BEGIN_CONNECT = 3; public final static int …

Member Avatar for Alex Edwards
0
431
Member Avatar for Gorilla

I've doing my final thesis at my university I've found a place for source code related to my topic for reference: [[url]http://www.christopher-wolf.de/hfe/][/url]. But unfortunately, I cannot download any of its content listing in the page. If anyone knows how to have it, please help me. Thank you very much for …

Member Avatar for toli
0
128
Member Avatar for ricss_madara

investment duration interest rates offered Less then 3 months 5% 3month-11 months 5.5% 1 year-23 months 7.6% 2 years and above 7.9% Note: Interest = Total investment *Interest rates *Duration Q: How to write a java application to compute the total accumulated investment after the investment periods?

Member Avatar for jasimp
0
143
Member Avatar for amitabhtripathi

HI, I’m getting the following messages when I run my java client which is invoking a WCF service.The service is converted to java stubs using axis2. then when i run my client i get following messages. Can anyone help me in finding the root of the problem. log4j:WARN No appenders …

0
54
Member Avatar for Greatoutdoors

This may not be a Java-specific question, but if it can be done in Java that would be my first choice -- I have at least a basic idea about Java. If not, then any pointers toward the correct language will be much appreciated. Help with creating the code will …

Member Avatar for Ezzaral
0
176
Member Avatar for frankiesides

could somebody insert the necessary code in this so that it works, as i need to get it working very soon. [code]import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JFrame; import java.awt.*; import javax.swing.*; import javax.swing.JOptionPane; import java.awt.event.*; public class AddCust extends Name implements ActionListener{ Name name; Address address; Loan loan; Borrower borrower; …

Member Avatar for Ezzaral
-1
104
Member Avatar for g_yan

i am a final year student. My supervisor had asked me for creating one chat program using java. i don't have any idea on how to started it. he asked me for doing a standalone system. please help me solve this problem?

Member Avatar for Ezzaral
0
174
Member Avatar for svl

Am writing a web application for which i need to provide horizontal menu navigation. I created the menupage and highlighted the menuitem but when i include the menuitems page in all the other jsps, the menuitem selected is no more highlighted since it becomes an include of menuitems in the …

Member Avatar for peter_budo
0
74

The End.