35,618 Topics

Member Avatar for
Member Avatar for CoolGamer48

Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user …

Member Avatar for stultuske
0
906
Member Avatar for josus7

HELLO EVERY ONE, CAN ANNY ONE TELL ME HOW I CAN SET A PASSWORD TO MY EXISTING DERBY DATABASE IF YOUR KNOW PLEASE HELP, TNX

Member Avatar for Ezzaral
0
78
Member Avatar for buzmay

Hi, I am trying to do a calculator for celcius to farenheit and viceversa. However I cannot understand why my program does not work. After reading the scanner it does anything and I really do not know why. Could anybody give me a hand here is what i have gotten …

Member Avatar for JamesCherrill
0
178
Member Avatar for coroll

Hi, Im developing a game. When the human gets his turn i want to display a JFrame with some buttons. So the game must wait until the user clicks on a button. Also i want to identify which button is clicked. I read that JOptionPna gets any component as a …

Member Avatar for Taios
0
288
Member Avatar for boiishuvo

I made a simple program - conservative sequence integers with a sum, for example input: 15, the output should be 1, 2, 3, 4, 5 I made this program in c++ and it worked successfully, see below: #include <iostream> #include <string> using namespace std; int main() { int num, i, …

Member Avatar for Taywin
0
265
Member Avatar for prakash89.gitam

Hi I have a task to do. I will just brief it in a sentence, I have a file of 20000 lines. Now task is to recognize number of similar lines. ex1 : "The quick brown fox jumps on a lazy dog" ex2 : "The quick brown dog jumps on …

Member Avatar for Taywin
1
180
Member Avatar for hatebin

I'm trying to develop a client application for a game server. For example i would like to restart server with counter-strike on it. In a simple way i just open CS console and type "restart" command. I know the IP and port number where the game is hosted. I've allready …

Member Avatar for NormR1
0
170
Member Avatar for kb2k8

Hello, I need some help with these simple questions. I am a first year IT college student and I do not know how to apply math.pow to these statements. Given the following expressions, re-write them as Java expressions using some parentheses to indicate a sequence of operator evaluation. 1. v …

Member Avatar for kb2k8
0
144
Member Avatar for LinkedList

Hey guys. I want to create an application for my PC in JAVA which can communicate with my CELL phone via Bluetooth. I just want it to receive text chats send by cell over bluetooth connection and be able to display them in appropriate format. I have good knowledge of …

Member Avatar for hatebin
0
263
Member Avatar for Johannady2

This is our longquiz from this morning. don't worry.. I am not cheating off a quiz.. it's already 22:00 o'clock where I am. this quiz was on 8am. I am studying for our final exam tomorrow. we weren't told the right answers.. and I don't have a book right now …

Member Avatar for DrEinstein
0
311
Member Avatar for Viped

Hi, I want to do program that reads different news sites and lists headlines. How this should be done? How to read the data from the web sites?

Member Avatar for YahooTR
0
89
Member Avatar for thecrazy

**Bold Text Here**hi, i need some help. i ave written the code for different forms of an applet in swings, but i am not able to open another form by clicking a button in on form. for eg when i click the registration button it should open the registration form. …

Member Avatar for karyal
0
98
Member Avatar for srujan.kommoju
0
124
Member Avatar for rahul.ch

A question that I came across: Q: Can you pass a double to a method when it's argument is a float? A: No. Regardless of the double value, a double-sized variable is too big to fit in a float, so it can't be implicitly cast. Doubt: Shouldn't narrowing happen implicitly?

Member Avatar for JamesCherrill
0
208
Member Avatar for chotep

class Nines { public static void main(String[] arguments) { for (int dex = 1; dex <= 200; dex++) { int multiple = 9 * dex; System.out.print(multiple + " "); } } }

Member Avatar for chotep
0
169
Member Avatar for wilddrummer

Hi all, thanks in advance for the help. I have placed an "X" on the first JButton and what I need it to do is this... Once the user has clicked the button with the "X" it needs to disappear and reappear on a different button. This process needs to …

Member Avatar for NormR1
0
233
Member Avatar for kathir100
Member Avatar for JamesCherrill
0
255
Member Avatar for Hades80

I need help translatinthis problem The sum of the sqaures of the 2 larger interagers is 12 less than 4 times the square of the smaller number.

Member Avatar for Taywin
0
145
Member Avatar for vstl

I have two text area on the screen, I can make bold the different words between two text areas and I want to have for up and down to go the different words helping this button on the text areas. how can I do that?

Member Avatar for NormR1
0
97
Member Avatar for kathir100
Member Avatar for jennilyn.frias

Hi.I would like to ask if an ActionListener can take a do-while loop. I have this MenuFrame that the JButtons won't come out everytime I click it but it is running. Everytime I remove the do-while loop the MenuFrame will come out with the JButtons. Any suggestion on what shall …

Member Avatar for JamesCherrill
0
31
Member Avatar for Cornerslikemad

I was trying out the examples from w3schools. I was wondering if is possible to extract the lastvisit data separately from username. function checkCookie() { var username=getCookie("username"); if (username!=null && username!="") { alert(unescape(document.cookie.split(";"))); }

Member Avatar for Taywin
0
35
Member Avatar for coroll

Hi, I want to get the object of the currently open JFrame? I found this Frame[] frames = Frame.getFrames(); Does this provide the open frames? If so how to get the frame that i need. Plz Help..

Member Avatar for stultuske
0
120
Member Avatar for geek86

Hello everyone. 1)I am trying several days now to display an image from file Chooser in Netbeans. i have read and tried many different approaches from the web, but something goes wrong.Although the program runs ok,I see no results.Until now, I have used the "Design" tab of Netbeans to create …

Member Avatar for JamesCherrill
0
3K
Member Avatar for bharath54321
Member Avatar for bo0ga

Graduated in May and still jobless. I want a position in programming but chose IT as my major. I should have chose computer science which focuses more on programming. Anyway, I seem to not be knowledgeable or skilled enough when I go on interviews - even for junior level positions. …

Member Avatar for stultuske
0
132
Member Avatar for slim.helu.92

hi.. am quite new to sound applications in java. I want a audio control panel as output. i.e. if i click play button audio should play, if i click stop audio should stop and if i click pause audio should pause/hold until the play or resume button is clicked. i …

Member Avatar for slim.helu.92
1
189
Member Avatar for alissaw

Hi everyone, java newbie here. I've got a bit of a loose grip on delimiters, which I'm trying to use in this code from project "Add 'em Up" in Blue Pelican Java lesson 17. The code **does** compile, but I'm not getting the results I want. When I run the …

Member Avatar for stultuske
0
207
Member Avatar for alissaw

Hi everyone, Java newbie here. I'm trying to compile this code, but I'm getting errors on lines 40 and 42 saying it can't find the symbols *balance* and *name* that I defined in the beginning of the code. I'm not quite sure what I did wrong, and would appreciate any …

Member Avatar for alissaw
0
172
Member Avatar for 3nrichedd

Basically I have found myself stuck in a math problem, any possibilities for assistance? I know this is java but I figured there must be a java programmer out there that knows how to solve this? c=95% In small NY towns (population < 30000) a sample of 22 libraries had …

Member Avatar for NormR1
0
177

The End.