I have the following form that works: http://craigcoleman.com/java/julia/ I'm trying to do the same thing with this form and I can not get the parameters to work with the form. I am using java script to get the parameter values. Please throw me a bone. <html><head><title> Test New </title> </head> <body> <center> <form name="tn" method="post" onSubmit="return false;" > COLOR START (0 TO 255)<br /> red start:<input type="text" size="4" name="red" value="8"><br /> green start:<input type="text" size="4" name="green" value="88"><br /> blue start:<input type="text" size="4" name="blue" value="-88"><br /> <br /> COLOR END (0 TO 255)<br /> red end:<input type="text" size="4" name="redAjust" value="9"><br /> …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I have employee class which I have 100 variables with getters and setters. now I am passing employee object to processing method. Now I want to read all values in processing method. Should I want to use getter for all member? Is there any way to achieve this. pls any one help me

Member Avatar
Member Avatar
+0 forum 6

Ok here is the required feature: To send data gathered from a database inside a UserControl to the main form which houses the UserControl. Hierarchy at present: Mainform --FlowLayoutPanel ----UserControl The UserControls are generated on the fly by a client list in a database. This all works fine. When you click on the UserControl, the UserControl gathers the information associated with the client and stores them in to strings. What should happen is the strings are then passed and set on screen to the main form, but this doesn't happen. There is no real point in me posting code from …

Member Avatar
Member Avatar
+0 forum 7

I am using noUiSlider and I am trying to get the slider value to Post through a form. The form is posting fine, but the value of the slider does not change from the start value, so is always set at 7000. Any ideas how to make the value change with the slider? Here is the code: $("#rangeSlider").val(); $("#rangeSlider").noUiSlider({ start: 7000, step: 1000, behaviour: 'snap', connect: 'lower', range: { 'min': 0, 'max': 15000 }, serialization: { lower: [ $.Link({ // Place the value in the #value element, // using the text method. target: $("#value"), method: "text", format: { decimals: 0, …

Member Avatar
+0 forum 0

Hello. I am working in QGIS software in which backend python programming is used. I want to interesect a polygon with different lines passing through it, and find the width of that polygon in QGIS 1.8. The polygon is a shapefile ie .shp file. So please help me to complete this job. Intersect polygon with lines and find the width of that rectangles or any other polygon.

Member Avatar
+0 forum 0

Hi All I have to forms (frmMain & frmEditMonth). frmMain has a tabControl on the 12 tabs (1 for each month) and a datagridview showning the days and the times and hours worked frmEditMonth (used as a edit Dialog pop-up) allows the user to edit the hours worked what i need to is pass information from DatagridView called dgv_xxx (where xxx is the name of the tab, Jan/Feb/Mar etc). over to the frmEditMonth and populate it's comboboxes here is the problem i bring in the name of the tab as a string, when passing this over, I get a "overload …

Member Avatar
Member Avatar
+0 forum 2

I am having this simple script: #!/usr/bin/expect -f set values "#host=CE101 #host=CE102" set found [regexp {[A-Z]{1,2}\d{2,3}} $values CE CE1] if {$found == 1} { puts "px is $CE" puts "vpx is $CE1" } else { puts "\nfailed to match anything from\r\n$values" } puts $found So my problem is that regexp is passing only the first found result to a variable and the second one is not being passed. I am sure that is the problem because of adding -all to regexp is returning 2 so I am sure that its matching both values, but I don't know why it's passing …

Member Avatar
+0 forum 0

i have 2 class for example class a and class b. i need the string store at class a pass and use by class b, here is my code for class a and class b. class a public void actionPerformed(ActionEvent arg0) { JFileChooser fileChooser = new JFileChooser(); fileChooser.setFileFilter(new FileNameExtensionFilter("Text Files", "txt")); fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY); fileChooser.setAcceptAllFileFilterUsed(false); int returnValue = fileChooser.showOpenDialog(null); if (returnValue == JFileChooser.APPROVE_OPTION) { String test; File selectedFile = fileChooser.getSelectedFile(); test=fileChooser.getSelectedFile().toString(); } class b try{ a path = new a(); FileInputStream fis = new FileInputStream(path.test); BufferedReader br = new BufferedReader(new InputStreamReader(fis)); while((line = br.readLine()) != null) { tableModel.addRow(line.split("___")); } br.close(); } catch(IOException …

Member Avatar
Member Avatar
+0 forum 4

Hey guys, I am almost at the end of my assignment but when I showed my code to a friend and also my demonstrator I was told the way I was passing the data between the three classes for "menu prompt (2)" was wrong. My original program had methods I wrote to set and get data within the store class it would set and get data on private variables for that class so the MatesInterface class could use the store get methods to print the data. So my question is how would I get the product data to the MatesInterface …

Member Avatar
Member Avatar
+0 forum 2

Hey guys, Here is what I am trying to do: I would like for a visitor to enter a zip code, and when zip code is entered, a select field would be populated listing all the cities for the corresponding zip. I already have everything set up and working other than that. Here is the select field that needs the zip code passed to it: <select name="city" id="city"> <option><?= $location->cities( **zip_code_needs_to_go_here** ); ?></option> </select> When I run the script and hard code a zip, works fine, but my JS / AJAX knowledge is very limited, so I need help passing …

Member Avatar
Member Avatar
+0 forum 9

I wrote this test program to test the binary tree for a particular purpose. The intent is to make 2 new tree nodes with new data and destroy the data of the parent data, as its no longer needed (essentially its supposed to imitate "splitting" but my design calls for some data to be the same in both lists, hence creating and destroy every time I "split" a node. The other stuff (`RELATION` from `relation.h` and related functions), I tested with valgrind. I know for a fact it works and doesn't leak. I'd rather not post it to keep the …

Member Avatar
+0 forum 0

hi guys, I wanted to get a result of a certain field by passing a month and year parameter to access database,the day parameter isn't important.So i used this query and it raised an exception.The record exists but it says there's no data for that column. Any help would be appreciated. qry = "SELECT * FROM [fuel_allowance] WHERE [project number]='" & projcode & "' AND [employee number]='" & empcode & "'" & _ "AND MONTH([current month])=" & currentdate.Month & " AND YEAR([current month])=" & currentdate.Year & "" Dim dr As OleDb.OleDbDataReader = GetData(qry) If dr.HasRows = True Then TextBox32.Text = …

Member Avatar
Member Avatar
+0 forum 2

I all as anybody tried, passing a pdf tha is in memory stream and so it directly on a div, without the creatio od a file?? Best Regards

Member Avatar
Member Avatar
+0 forum 13

Im trying to add odd numbers recursively from n to m but its not working . im sure its in the recursive logic on how im passing the arguments or something. public static int OddSum(int low, int up,int total) { if(low==up) { return up; }else { low+=2; return total += OddSum(low,up,total+low); }

Member Avatar
Member Avatar
+0 forum 6

I have two classes A Dog class whose constructor does not accept arguments, `public class Dog<pet> extends Animal<pet>{}` whose constructor does not accept any arguments and `public class Animal<pet>{}` whose constructor accepts one argument public class Dog<pet> extends Animal<pet>{ public Dog(){ super(/*what should go here?*/); //Constructor accepts no arguments } } public class Animal<pet>{ public Animal(E name){ //Constructor accepts one argument } } I need to pass an E type argument to super() inside the constructor of the Dog<pet> class. How can I do this without passing any arguments to the dog constructor? Thanks

Member Avatar
Member Avatar
+0 forum 3

Hello..please, i want to pass a dictionary from a class to a datagridview on a form.. but each time i try to reference this class from the form, it keeps recreating new objects of my dictionary, thereby setting my dictionary to null. Please, what do i do?

Member Avatar
Member Avatar
+0 forum 1

Hi! I have this code, classes with matrices, overloading operator etc (this is just one part, I reduced it from original). #include<iostream> using namespace std; class matrix { protected: float* M; size_t m,n; public: matrix(){} matrix(size_t m,size_t n); matrix(const matrix& A); ~matrix(); matrix& operator=(const matrix& A); matrix operator+(const matrix& A) const; float& operator[](int i); }; matrix::matrix(size_t m,size_t n) { this->m=m; this->n=n; M=new float[m*n]; for(int i=0;i<m*n;i++) M[i]=i; } matrix::matrix(const matrix& A) { *this=A; } matrix::~matrix() { //delete[] M; } matrix& matrix::operator=(const matrix& A) { delete[] M; M=new float[A.m*A.n]; m=A.m; n=A.n; for(int i=0;i<m*n;i++) M[i]=A.M[i]; } matrix matrix::operator+(const matrix& A) const { if(m==A.m …

Member Avatar
Member Avatar
+0 forum 1

**Task:** "pass these four variables (x,y,w,h) into the getSubimage method of the original_image object." That method returns a BufferedImage, which i need to directly return from my getImageRect method. I have not included my whole code, but i was wondering if anybody could help me out with this? If you need me to include other aspects of my code to help understand this program then i can paste them. BufferedImage getImageRect(int thisCol, int thisRow) { // if input is out of range, return "null" if(thisCol <0 || thisRow < 0) return null; if(thisCol>=numCols || thisRow>=numRows) return null; // otherwise, make …

Member Avatar
Member Avatar
+0 forum 6

The End.