35,588 Topics

Member Avatar for
Member Avatar for Stefano Mtangoo

I have done alot of OOP for long now (with C++/Java/Python etc) but world of JS is confusing. I wanted to try it by writting Ajax library (I know there are libs but this for JS OOP familiarization) and found confusing. No class keyword et cetera. What is happening? Am …

Member Avatar for Troy III
0
140
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
206
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
165
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
231
Member Avatar for kathir100
Member Avatar for JamesCherrill
0
252
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
144
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
93
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
29
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
33
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
116
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
130
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
183
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
205
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
168
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
175
Member Avatar for harirock

**Jvm is a folatform independent or not if it is yes way? no why no?**

Member Avatar for rotten69
0
126
Member Avatar for hamiltino

I missed one of my classes for data structures. Can anyone give me a general guide in solving this simple recursive problem using Linked lists. Where one has to find the min and max values of integers stored in a linked lists. Here is methods i need to use. Write …

Member Avatar for JamesCherrill
0
414
Member Avatar for rajesh1158

Need an Hello world example of how to add an item in the context/pop-up menu in eclipse plugin development. (menu should pop-up when we right-click anywhere in the workspace).

Member Avatar for JamesCherrill
0
298
Member Avatar for ravz414

Hi, We are to develop a social networking kind of web app for our and our clients' employees. The number of users can go high. My question is which platform would be better for this project, considering performance speed as the main criteria and faster development as the second criteria. …

Member Avatar for pritaeas
0
59
Member Avatar for shweta.tomar.798

i have a **java program** and it call **matlab exe file** ,but i have a problem in run time it is so so slow . i need a help in how to make this faster, i will be grateful for any help...plzzzzzz rply

Member Avatar for stultuske
0
172
Member Avatar for shweta.tomar.798

how to instantly update jtable after addition/deletion of any record.And how to add checkBox in every rows of jtable in java .i will be grateful for any help...plzzzzzz rply thanx in adwc...

Member Avatar for stultuske
0
162
Member Avatar for jjjmikalord

hello there, is there anyone who can tell me hwo to actually check whether an an int array element is a null or not? in java, I tried (array[i]==null) or (array[i].equals("")) but it seems that the compiler will tell me that int is incomparable to null or string everytime I …

Member Avatar for stultuske
0
712
Member Avatar for 47pirates

In my desktop application whenever execute the code to backup my database from java application the app goes on waiting state may be for password , which we have to enter while backing up from command line. But i've provided the username and password of database in the code. Why …

Member Avatar for rajesh1158
0
3K
Member Avatar for 47pirates

I'm using Xampp for the database in my computer now what i want to do is to back up the database name "HMS" with "root" username and " " password. How can i do this in java please suggest.

Member Avatar for rajesh1158
0
167
Member Avatar for bohm13rit

I can't seem to figure out how to reverse the order of the letters in a string. This is what i have so far... [code] [COLOR=Blue]public String reverse(String normal) { //reverse the letters in string char last; //last letter of string int leng = 0; //length of string int i; …

Member Avatar for teachMyself
0
943
Member Avatar for zeroflee09

## Sub-Heading Here ## > im working with time in and time out app which compute all of the hours that you've been working. > and i got this error.! i dont know how to fix these. plss help me im a beginner. > > error: variable th1 might not …

Member Avatar for zeroflee09
0
303
Member Avatar for abbelylee

am trying to load a csv file on my application which allows the action listener to call a readfile method and displays the 2d array on the file to the textarea. i am getting a compliation error of such. pls how do i rectify this setText(java.lang.string) in javax.swing.text.jtextcomponent cannot be …

Member Avatar for NormR1
0
107

The End.