35,586 Topics

Member Avatar for
Member Avatar for SBA-CDeCinko

I have a ScriptManager tag in my master template. This causes no issue for visitors who have Javascript disabled. As soon as I add EnableHistory="true" to support the saving of history points, Javascript disabled visitors get an error. How can I support both types of users?

0
59
Member Avatar for rcogq7

* This program inputs ten integers and * displays the mode using parallel arrays. * Use a method to calculate the mode. This is my specs. I cannot figure out a solution as to how to find the mode using only two arrays. Help would be gratefully appreciated

Member Avatar for JamesCherrill
0
97
Member Avatar for ndkv

I have problem how to calculate mutiple checkboxes on the panel. ex: 24 roses with a bear: This costs $72 or 1000 points and $12. 14 Lilies: $24 or 360 points [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.border.*; import java.io.*; import java.text.NumberFormat; public class customerInfoGUI extends JFrame …

0
59
Member Avatar for mallak alrooh

Hello Friends I have This important question about implementing double link list I have done it but it dosenot work , please try to find what is wrong.. Thank you but I need this work queckly... [COLOR="red"]CLASS LINK LIST:-[/COLOR] [ICODE]public class LinkList { [I][/I] public class LinkedList<T> { private DoubleLinkList<T> …

Member Avatar for mallak alrooh
0
116
Member Avatar for druveen

Hi, I have to store all words in an array suffixed with @ in an string. For eg : var str = "Hello i @need help with @regexp"; \s@([A-Za-z0-9_]+\b) this regular expression gives me only @need not @regexp so please help. check this link... [URL="http://www.regular-expressions.info/javascriptexample.html"]http://www.regular-expressions.info/javascriptexample.html[/URL] might be helpfull thanks in …

Member Avatar for druveen
0
69
Member Avatar for reyarita

guys good day!! i need ure help with this problem. we are going to make a program. 1. Store first memory location og program into base register (for memory protection). 2. Set program counter (it keeps track of memory space used by the program) equal to address of first memory …

Member Avatar for reyarita
0
91
Member Avatar for urlstwohim

I have two classes.CyberLibraray and CyberBook These are the requirements: Design a CyberLibrary class which houses CyberBooks. Because of local laws, the CyberLibrary class has a limitation: the maximum number of books is 200. The CyberLibrary has the following constructors: Constructor #1: the default - Creates a CyberLibrary with the …

Member Avatar for urlstwohim
0
4K
Member Avatar for sivaprakashm

[code]abstract class foo { abstract void bar( ); // <-- this is ok abstract static void bar2(); //<-- this isn't why? } [/code]why can't I define an abstract static method?

Member Avatar for masijade
0
136
Member Avatar for JayGeePee

When a member signs up there asked to enter an email and verify. When they click the verification link in there email there taken to step 2 which is where they enter there info. In the info page I have an privacy policy link, which displays this way. [CODE]<h3><span class="underLine"> …

Member Avatar for @developer
0
135
Member Avatar for ceyesuma

Hello. I have search my app for all classes to implement java.io.Serializable. I think that the needed classes are covered.I create and serialize JInternalFrames. When I re-open a JInternalFrame some of the JMenuItems do not do thier job. Also when I right click the Tabs on the JTabbedPane to bring …

Member Avatar for ceyesuma
0
80
Member Avatar for blknmld69

I am having a problem get my program to compile. [B]ERROR[/B] Stopwatch.java:35: cannot find symbol symbol : method start() location: class Timer timer.start(); ^ Stopwatch.java:44: cannot find symbol symbol : method stop() location: class Timer timer.stop(); ^ Stopwatch.java:52: cannot find symbol symbol : constructor Timer(int,Stopwatch) location: class Timer timer = …

Member Avatar for JamesCherrill
0
646
Member Avatar for incubus9x9

Please dont tell me to "google" it obviously I'v tried everything and this is my last resort. k thanks :) ok so I have to set a value to be restricted in the constructor ___________ Modify the constructor and set methods of the Shape class to verify the values of …

Member Avatar for seanbp
0
204
Member Avatar for rayden150

its a basic calculator that sums number and i want to make a GUI for it but i dont know where i messed up please help [CODE] import java.util.Scanner; import javax.swing.*; public class Sum { public static void main (String args []){ Scanner result = new Scanner(System.in); int num1; int …

Member Avatar for masijade
0
86
Member Avatar for spades0001

I was reading and researching about adding color into my program. I found this code, which compiles perfectly, but does not show the desired outcome. Here's the code: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.awt.Color; import java.awt.Graphics; public class Login extends JFrame implements ActionListener{ private JTextField …

Member Avatar for masijade
-1
117
Member Avatar for Awesomeness

I want to remove all the spaces, carriage returns, and "comments" (the text inside the <>'s) from this document: I tried the regular expression [ICODE]( )|(\n)(|<.*>)[/ICODE], but that removes everything but the [ICODE]-1[/ICODE] at the end. It doesn't do that if I remove the [ICODE]|(<.*>)[/ICODE], but then it doesn't remove …

Member Avatar for masijade
0
94
Member Avatar for ejsuarez

Hi! I'm new around here and I'm not quite sure how this works, but the main reason I subscribe to this web page is because I'm looking for someone who can write a program for me. I've done a little bit of it, probably 10% or less but I need …

Member Avatar for ejsuarez
0
107
Member Avatar for adityagarwal

[CODE]public void takeGuess () throws IOException { temp=" "; Hangman obj = new Hangman(); System.out.println ("Enter a character or type in 'hint' for a hint!"); DataInputStream input=new DataInputStream(System.in); temp= input.readLine(); if (temp.length()==1) { guess=temp.charAt(0); if ((guess >= 'a' && guess <='z') || (guess >='A' && guess <='Z')) {System.out.println();} else {System.out.println …

Member Avatar for jon.kiparsky
0
499
Member Avatar for serph09

The question asks: Enhance the [I]addInterest[/I] method of the [I]SavingsAccount[/I] class to compute the interest on the minimum balance since the last call to [I]addInterest[/I]. [I]Hint[/I]: You need to modify the withdraw method as well, and you need to add an instance variable to remember the minimum balance. (Oh, and …

0
97
Member Avatar for SerialSpiller

Here's what I got so far. I am trying to add the two fractions together while following the UML. I attached the assignment to this as well. I have no Idea how to create the add method. It's for an online class, and this one is just killing me. Thank …

Member Avatar for jane010794
0
1K
Member Avatar for red7devil

Hi guys, im facing a real problem with a project im doing at the moment as Im new to Java. Ive set all the buttons for the program however, i need to make the pictures show randomly. also, il need to make some buttons work, like the nudge button for …

Member Avatar for sirlink99
0
138
Member Avatar for Mattan360

Hi! I'm trying to login to my website throught my program, to do that I need a password and username. The password is encrypted using C# SHA256 but on the server it uses an javascript code I got from the web. My problem is that my C# Hash differs in …

Member Avatar for kvprajapati
0
2K
Member Avatar for jemz

hello can you help me please how can i make the function array...please help me because i have no idea for this...thank you in advance hoping for your positive responds...

Member Avatar for jemz
0
72
Member Avatar for lockwater

SINGLE USER CONTIGOUS SCHEME: INPUT THE SIZE OF MEMORY DISPLAY THE SIZE OF THE OS BY COMPUTING 20% OF THE MEMORY INPUT THE NUMBER OF JOBS EXAMPLE: IF THE NUMBER OF JOB IS ENTERED THE SCREEN WILL GIVE YOU AN OUTPUT LIKE THIS JOB 1; JOB 2; JOB 3; JOB …

Member Avatar for lockwater
0
109
Member Avatar for mslavkova

I have a problem how to transfer my European CApitals Array into JLabel Array, without writing the capitals on each JLabel. I figured out my dropdown menues, but I want to display the counties on JLabels and parallel to it, the textboxes for the capitals, with the JButon next to …

0
84
Member Avatar for LianaN

Hi! I would like to create textfields that will serve for sorting data in JTable, and the width of these textfields will correspond to a column width. So, below you may see the code that worked until I did not use an array of textfields. Now, the size of [ICODE]txtRegNum[/ICODE] …

Member Avatar for quuba
0
124
Member Avatar for bwallace

We have this script that makes the photo change when you mouseover different items on the list. How can we make the photo link change as well? For example, how can we make the photo link to Yahoo when we hover over item 1 but to Google when we hover …

Member Avatar for Kraai
0
90
Member Avatar for kyojin

Can somebody help me change the rectangle to an oval? I try importing the Ellipse but it doesnt work :( [ICODE]import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.TexturePaint; import java.awt.geom.*; import java.awt.geom.Ellipse2D; import java.awt.geom.Rectangle2D; import java.awt.geom.RoundRectangle2D; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import javax.swing.JFrame; import javax.swing.JPanel; import com.sun.image.codec.jpeg.ImageFormatException; import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGImageDecoder; …

0
57
Member Avatar for Tankadin

Hi all! I have moved on to learning about classes.....they don't seem as bad as the past things I have done so far. I have, however, hit a few snags along the way. Here is my code for my Rectangle class [code] public class Rectangle { private int x; private …

Member Avatar for quuba
0
418
Member Avatar for Helpjava11

Please help I am brand new to java I need help creating the java code so that when I click a button it will add .01 to a running total. I have tried to modify a calculator code but it did not work. Any help at all. Thank you

Member Avatar for Helpjava11
0
137
Member Avatar for saad749

I am trying to create a Unit Converter. My Idea is to have a select box at the top to select Length/Temp etc. which will populate the two select boxes below with appropriate units. The below code should Work only for Milimieters to Milimeter, Meters and Kilometers. It should show …

Member Avatar for saad749
0
216

The End.