36,051 Topics

Member Avatar for
Member Avatar for squall2463

I face the problems of don't know how to convert the number from any base to any base.I just can get the output by converting the number from base 10 to any base.So,panic.:( :'( Who can help me,thanks.

Member Avatar for squall2463
0
106
Member Avatar for fraidicat

Can anyone help, I am trying to access my place of work from home without much success. I can log in, it then says: 'Welcome to the Radian Citrix Portal, please note that to use this service you must install either the Citrix Web Client (using the link below) or …

Member Avatar for fraidicat
0
126
Member Avatar for enes

InputStream in = new FileInputStream(new File("Pirates of Caribbean.wav")); AudioStream musicin; musicin= new AudioStream(in); AudioPlayer.player.start(musicin); i wrote above it works but after sometime music ends but i want to play it always how can i achieve it

Member Avatar for Ezzaral
0
46
Member Avatar for Enriel10

Is possible to play in different channels, different .wav files in order to mix them? How? There is any library or API that I can use to do that? Because I only have found this for MIDI sounds. Thanks!

Member Avatar for Ezzaral
0
42
Member Avatar for enes

when ı add two panels into a frame last panel i added seen on the screeen how can i show both panels in one frame

Member Avatar for masijade
0
93
Member Avatar for pesho318i

hey guys, I'm realtively new to jsp, and I want to create java objects and use them later in the jsp code. Here's what I do: [CODE]<%! public static java.util.List attrTypesArray = new java.util.ArrayList(50); public static boolean myBool; attrTypesArray.add("aaaa"); pageContext.setAttribute("attrTypesArray", attrTypesArray); pageContext.setAttribute("myBool", myBool); myBool = attrTypesArray.contains("aaaa"); %> <c:out value='${myBool}'/>[/CODE] However, …

Member Avatar for pesho318i
0
196
Member Avatar for chicago1985

I created a Java class that inserts and updates an Oracle 9i database. I am running single insert and single update statements. The below is what I have been using and was wondering if it is efficient or anyway to improve it: [code=java] public class DbWork { private Connection connection …

Member Avatar for jwenting
0
88
Member Avatar for toadzky

I am trying to write a fairly simple app for a Dell Axim running PocketPC 2003 and the Mysaifu JVM. I'm using NetBeans to develop the app. NetBeans emulators (weak as they are) can run my app just fine. But when I try it on the PDA I get a …

Member Avatar for pavithran
0
92
Member Avatar for java.cream

Hi all, I need help in polymorphic variables concept ,Are there any polymorphic variables in the code belowand Explain why? thnks.. [CODE]class Square { protected int side; public Square (int s) { side = s; } public int getSide() { return side; } } [/CODE] [CODE]class Container { protected static …

0
62
Member Avatar for balagangadharm

hi, Iam using tomca,mysql.In my appl ,i wrote a code to upload an image using jps.its working fine in my system.But wen i access my appl from another system(in LAN),iam unable to upload the image.p[lz tell me wats wrong in my code PreparedStatement st=con.prepareStatement("update login set photo=? where uid=?"); File …

Member Avatar for jwenting
0
95
Member Avatar for iaaan

The Game The game involves 10 words, which make up the nonsense sentence, “to tip pods on pan is as a tad din”. Two players take it in turn to take a word. The winner is the player who takes words containing all of any one of the letters involved …

0
71
Member Avatar for Dani

What do you guys think of JavaScript-heavy forums such as DaniWeb? Would you rather spend time on a forum with a very unique skin and all the bells and whistles, or something very simplistic and standard that's quick loading and far less confusing?

Member Avatar for Dani
0
137
Member Avatar for shaqnolysis

Lemme first greet all my beloved fellows and i would love to give you all credits for helping each other with problems concerning java!!! I have a problem with listening methods in my code.the only respond i get is the exit part of my buttons....please i would be happy to …

Member Avatar for shaqnolysis
0
151
Member Avatar for jackskell26

Hello All. This program lets the user select any three points within the applet window and draw a triangle. It then prints out the perimeter of the triangle and the area of the triangle. After the user has selected three points, you should then be able to click a fourth …

Member Avatar for jwenting
0
205
Member Avatar for inflex

Hi Everybody, I wrote below codes which check textfiled and comco box for equals. But i want write a integer in textfiled and check it with combobox; For example When i write in texfiled 10 in the 10. on combobox is Balıkesir so if i select Balıkesir it's true but …

Member Avatar for jwenting
0
167
Member Avatar for mickinator

First of all, here's my codes: [code=java] public class SLLNode { protected Object element; protected SLLNode succ; protected SLLNode( Object elem, SLLNode successor ) { element = elem; succ = successor; } } [/code] [code=java] public class LinkedStack { private SLLNode top; public LinkedStack( ) { top = null; } …

Member Avatar for mickinator
0
200
Member Avatar for Elektro

:o does anyone know how to write this for me i have no idea i need help Outline: Java is a powerful Object Oriented Programming (OOP) language specifically designed for use with the internet. However, this makes learning Java fairly difficult. So we will start with a simple (text-based) program. …

Member Avatar for masijade
0
366
Member Avatar for princestasnley
Member Avatar for 7233trebor

I am getting an error message "Exception in thread "main" java.lang.NoClassDefFoundError:Projectta import javax.swing.*; import java.awt.*; import java.awt.event.*; public class projectta extends JFrame { private static final int WIDTH = 400; private static final int HEIGHT = 300; private JLabel directionsL; private JtextField textTF, messageTF; private JButton submitB, resetB, exitB; private …

Member Avatar for masijade
0
340
Member Avatar for Azeem Alam

i need to create a basic drawing tool with basing drawing function 1:it can draw Rectanle,Circle,Line and i also want to select these shapes on mouse click. 2:it can draw picture and select it like regular shapes. 3:Upon selection i also want to move them within drawing area. 4:it can …

Member Avatar for masijade
0
89
Member Avatar for mrityunjay22

i want a date selection form in jsp and that date variable should be caught in servlet so that i can insert date in mysql. its very urgent plz help me

Member Avatar for peter_budo
0
82
Member Avatar for laxmisaha

Hello ppl, I am working on a site these days, which is coded in JSP and based on J2EE technology.I have a requirement where i have to play a WAV/MP3 file on the JSP webpage. The file is saved in a database repository and is loaded in the output stream …

0
54
Member Avatar for jmasta

Hello folks, I have a program that uses a linked list to implement a stack to convert a string from infix notation to postfix notation, and then to evaluate it. Well, the conversion part works just fine, but I have encountered a problem when trying to evaluate it. In my …

Member Avatar for jmasta
0
1K
Member Avatar for atularvin23184

hi Friends, i m serching a j2ee job.but i don't have a good projects.and it's url also...because many company asked abt the clients...plz send me as soon as possible.. thank u.

Member Avatar for ithelp
0
55
Member Avatar for nyczalex

Hi, I'm quite new to the forums. This is my first year in this class so I have lots problems and is beginner. sorry about that. anyway, i am trying to look for help to help me with my next project which i need to due sometime next week.. I …

Member Avatar for nyczalex
0
150
Member Avatar for dantheman3141

Where can I find some really good tutorials for starting to learn java? Thanks Dan

Member Avatar for dantheman3141
0
77
Member Avatar for TSRgeneral

hello, I am a new to this site. I have been having trouble at school with my computer science class. Now i have an assignment due this Friday November 11,2007 and I need someone's help. I am in Intro to Java programming and i use Dr. Java. I am a …

Member Avatar for jwenting
0
127
Member Avatar for Java_P
Member Avatar for paydfody

Hello guys, Hope ur listening. I need my code to generate 6 random numbers for each line, instead of just 1. Furthermore, there should be no duplicate numbers on any particular line. So far I have gotten this code to print only a single number per line, so I need …

Member Avatar for jwenting
0
123
Member Avatar for smacklby

Help! I am losing my mind trying to display images in my JSP pages -- something that is rather simple, otherwise complicatied in JSP! Here is the code, what am I doing wrong?!?! [code] <img src"../images/situations/pic.gif" alt="pic" /> [/code]

Member Avatar for peter_budo
0
109
Member Avatar for Rx7
Member Avatar for jopeter

hi i have wrote this progaram in java. it finf the palidrome numbers and print it. its by threads it has some errors and i can t run it. please help me. package palindromen; import java.lang.Integer; import java.lang.String; public class Main { public Main() { } public static void main(String[] …

Member Avatar for jopeter
0
201
Member Avatar for snah1

Hello! I have problems saving values from checkboxes in the database. My jsp page contains several checkboxes (representing values from a static database table). When I choose one or a few checkboxes in my jsp, the values are passed to my SimpleFormController and they should be saved through the onSubmit …

Member Avatar for jwenting
0
137
Member Avatar for d_salil

I am working in windows xp i want to create a java application that will go to our server which is linux server(Red hat) stablish a connection between both system.Login into the that system read a file do some operation execute some commands and take a file a send it …

Member Avatar for jwenting
0
73
Member Avatar for toadzky

Here's the backstory real quick: Class project in my java class to write a program to help the lab assistants manage the students who need help. Trying to use a PDA in the project. Here's the question: How do you get JVM and .jar files to run on a Dell …

Member Avatar for jwenting
0
116
Member Avatar for TCMIMS16

Ok, I made some changes. I am down to 1 complilation error and I can't figure out what to do. Here is the error message: C:\Documents and Settings\Triffee\My Documents\Math316.java:87: reached end of file while parsing } //end CountPlusFive method ^ 1 error Tool completed with exit code 1 [COLOR="Red"]I have …

Member Avatar for ~s.o.s~
0
119
Member Avatar for ukankissthis

Ok, I am getting 2 errors on line 65 it says class or interface expected and again on line 65 saying { expected. The assignment is to Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number …

Member Avatar for peter_budo
0
138
Member Avatar for anonymous100

I am new to web development. Can somebody advise me on how I can pass an ArrayList from my JSP to action class. I have the following link in my JSP which links to an action class. <li> <A href="inboxMsg.do">Link to action</A></li> Can I pass the arraylist in the above …

Member Avatar for RVG123
0
284
Member Avatar for hamutathmu

Is there anybody know any "tricks or treat" of how to apply for a computer programming job? I graduated with a Computer Science degree in 2006 and has been desperately looking for a job since then. I'be been through countless job interviews and none of the employers accepted me AT …

Member Avatar for binoj_daniel
0
122
Member Avatar for piers

this is the homework I have to do [QUOTE] This homework is due in week 3. You must work on the program outside the formal laboratory sessions. The program must be ready to be executed at the start of the scheduled laboratory session. Remember you may be asked to explain …

Member Avatar for piers
0
173
Member Avatar for mimsc

Hi, I'm basically just trying to submit this whole page into an email when I press submit at the bottoM...any suggestions? [code] <%@ page language="java" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="java.util.*" %> <%@ page import="java.text.*" %> <% String theAcctName = …

Member Avatar for mimsc
0
118
Member Avatar for petzoldt01

I currently have a small Java project on my local setup (Im using Tomcat). I want to get this out on the internet, but not many hosts offer Java. Im not really looking for the cheapest host out there, but Im not very rich either. I just want something reliable, …

Member Avatar for peter_budo
0
78
Member Avatar for idgeitman

Hello, I've been trying to figure this out but still no luck, can anyone see what im doing wrong here?, the if statement just isn't working! Thanks, [code] <% String name = request.getParameter("username"); %> <% if ("name" == null) { %> <jsp:forward page = "invalid.jsp"/> <% } %> [/code]

Member Avatar for masijade
0
86
Member Avatar for galanshi

Hello: I am working with the Lempel Ziv algorithm which is a data compression algorithm. I have to read text from an input file and create a dictionary and a sequence of code numbers. Then I have to decode the generated sequence of numbers and generate the original text. I …

Member Avatar for jwenting
0
44
Member Avatar for ceyesuma

Could someone find an obvious reason this while loop performs once and then breaks? I don't think the condition on the while loop is dropping it out. I must be when I call the formatted writers but I 'm not sure how to make it stay in the while loop. …

Member Avatar for sb7000
0
97
Member Avatar for Hyiero

Well I did not have a problem with my last program assignment which involved me making the Student class that I attached below, But in my new assignment i have too Write a program that will use the Student class developed in the previous assignment to provide a menu-based interactive …

Member Avatar for galanshi
0
123
Member Avatar for Gregory Mieczni

Hi, I am relative new to Swing development, so please be patient... I have created a scrollable table and would like to add (at runtime) a JComponent (for example a chart linked to the table) that would sit on top of the table and would also scroll aong with the …

Member Avatar for iamthwee
0
105
Member Avatar for mimsc

Can anyone see it..I can't find it [code] <% RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp"); UserDataVO userData = null; String username = request.getParameter("username"); String password = request.getParameter("password"); boolean loginOkay = false; boolean trialOkay = true; boolean pageError = false; boolean hasBlanks = false; String menuType = null; String adminServer=request.getServerName(); String javaAdminServer=request.getServerName(); if …

0
80
Member Avatar for thejunkie

I'm new at Java and I'm tryin to create a Login screen that prompts the user to enter a username and a password and then allows them into the program. Is it true that I cant use the "switch" on a string and only if else statements? If it is …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for kc8pdr

I was on sprint today and when you click on a phone the page get's see through and a windows open's open can someone tell me how to do it ?

Member Avatar for kc8pdr
0
59

The End.