Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~7K People Reached
Favorite Tags
java x 21
c x 14
php x 7
jsp x 7
Member Avatar for skiabox

I want to bring to my desktop java application real-time data from three market indexes of the world (Japan, Frankfurt, and Nyse). I only need these three quotes. Is it an easy task?

Member Avatar for rfq
0
74
Member Avatar for skiabox

I have created a JFrame with two JPanes (mainPanel and secondPanel)in it. I am trying to update the first JPane (mainPanel) with a JPane that is returned by another class of the project. How can I do that? Thank you.

Member Avatar for skiabox
0
150
Member Avatar for skiabox

I have created a JMenuItem and a JButton. How can I have the same result when I use either the JMenuItem or the JButton? Basically I want them to trigger the same method. Thank you.

Member Avatar for JamesCherrill
0
101
Member Avatar for skiabox

I have created a JToolBar and I added 3 JButtons inside it. Is there any way I can increase the horizontal space between the buttons?(Now they seem like they're stacked together) Thank you.

Member Avatar for skiabox
0
170
Member Avatar for skiabox

I have created a form and I added a JFileChooser on it. When I start the form , the JFileChooser appears when the form loads. I gave used netbeans fileChooser tutorial.(http://netbeans.org/kb/docs/java/gui-filechooser.html) Any ideas? Thank you.

Member Avatar for skiabox
0
182
Member Avatar for skiabox

I have some files, consisting of end of day stock data in the following format : Filename: NYSE_20120116.txt <ticker>,<date>,<open>,<high>,<low>,<close>,<vol> A,20120116,36.15,36.36,35.59,36.19,3327400 AA,20120116,10.73,10.78,10.53,10.64,20457600 How can I create files for every symbol? For example for the company A Filename : A.txt <ticker>,<date>,<open>,<high>,<low>,<close>,<vol> A,20120116,36.15,36.36,35.59,36.19,3327400 A,20120117,39.76,40.39,39.7,39.99,4157900 (I don't want A.txt to contain the first line …

Member Avatar for skiabox
0
191
Member Avatar for skiabox

I have two panels. One with the price (OHLC) and a moving average, and one with the volume. I want to create a middle panel with to oscillators that oscillate around zero. Each oscillator is the difference of two moving averages of the chart above it. Is it possible? Thank …

Member Avatar for skiabox
0
193
Member Avatar for skiabox

I am trying to overlay a moving average over a OHLC chart but I get no results. Any ideas on what am I doing wrong ? private static OHLCDataset createPriceDataset(String filename) { //the following data is taken from http://finance.yahoo.com/ //for demo purposes... OHLCSeries s1 = new OHLCSeries(filename); try { BufferedReader …

Member Avatar for skiabox
0
245
Member Avatar for skiabox

I have a group of files (A.txt, AA.txt etc) in the form A.txt : A,45,56,78,98,11,23 A,98,90,33,76,30,40 AA.txt : AA,65,76,34,76,98,12 AA,12,76,33,76,33,89 How can I quickly remove the symbol column (A,AA) from all these files using Python? (I want to use python because the number of txt files is 3200) Thank you.

Member Avatar for Gribouillis
0
146
Member Avatar for skiabox

I am trying to create an oval shape using Netbeans but the oval shape never draws itself. Here is the code : /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package learn; import java.awt.Color; import java.awt.Graphics; import javax.swing.JPanel; /** …

Member Avatar for NormR1
0
158
Member Avatar for skiabox

I am trying to edit a post I've made but there is no submit button! Any ideas guys? Thank you.

Member Avatar for Dani
0
352
Member Avatar for skiabox

I am reading the book Head First Java. Reading the chapter 'networking and threads' I tried to run a project in my Eclipse IDE that consists of a chat server and chat clients. The problem is that I am getting no feedback in the clients text area and debugging seems …

Member Avatar for skiabox
0
344
Member Avatar for skiabox

I have created the following code to display some records from a database : [code] <table id="productTable"> <c:forEach var="product" items="${categoryProducts}" varStatus="iter"> <tr class="${((iter.index % 2) == 0) ? 'lightBlue' : 'white'}"> <td> <img src="${initParam.productImagePath}${product.name}.png" alt="${product.name}"> </td> <td> ${product.name} <br> <span class="smallText">${product.description}</span> </td> <td>&euro; ${product.price}</td> <td> <form action="addToCart" method="post"> <input type="hidden" …

0
58
Member Avatar for skiabox

I am trying to run a relatively simple jsp page but I am getting the following error : [CODE] HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /dateBean.jsp (line: 7, column: 4) The …

0
59
Member Avatar for skiabox

I have problem starting tomcat now that I have installed macos lion. I get the following error in catalina.out : [CODE] Aug 7, 2011 4:12:01 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. Aug 7, 2011 4:12:01 AM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile …

Member Avatar for skiabox
0
199
Member Avatar for skiabox

I am reading a book and I am in a chapter where it shows how you can create web forms using php. The problem is that I am getting confused by this switching of the code. I give you an example : [CODE] <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” …

Member Avatar for ddymacek
0
267
Member Avatar for skiabox

I am reading a book and there is the following code inside : [CODE] if ( !isset( $_POST[$requiredField] ) or !$_POST[$requiredField] ) [/CODE] I can understand the first part of the use of isset function but I cannot understand what the second part does. Any ideas? Thank you very much.

Member Avatar for skiabox
0
99
Member Avatar for skiabox

I am trying to create a custom tag that will write something to the screen after checking for the existance of a specific cookie. Is it possible? Thank you.

Member Avatar for mith_cool
0
62
Member Avatar for skiabox

I am reading murach's book about jsp and servlets. He uses netbeans(I am using intellij idea) and I am at a point when he uses the META-INF folder that netbeans creates to save a context.xml file there that contains a Resource tag with information about a connection pool. The problem …

Member Avatar for skiabox
0
280
Member Avatar for skiabox

I have seen in many servlets that doPost and doGet are declared public or protected. What is the purpose of declaring a doPost or doGet as protected? Thank you.

Member Avatar for stultuske
0
74
Member Avatar for skiabox

I am wondering if there is a tool that I can preview my css code without having to write the corresponding html code. I mean a tool that automatically create sample html code based on the css code. I am using a mac. Thank you.

Member Avatar for NETProgrammer
0
80
Member Avatar for skiabox

I get the following error : Parse error: syntax error, unexpected T_STRING in /Library/WebServer/Documents/MyProject5/menus.php on line 48 This is the code [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Date Menus</title> </head> <body> <?php //Script 10.1 - menus.php //This script defines and …

Member Avatar for Stefano Mtangoo
0
324
Member Avatar for skiabox

I am trying to use a vla (variable length array) in my code but I see that the array is not initialized properly when I debug the program. Here's the code : [code] #include <stdio.h> #include <stdbool.h> int main (int argc, const char * argv[]) { // insert code here... …

Member Avatar for skiabox
0
135
Member Avatar for skiabox

I am trying to produce a random walk solution but I get some strange results. Here's the code : [CODE] #include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <time.h> int main (int argc, const char * argv[]) { // insert code here... char myArray[10][10]; char letters[26] = {'A', 'B', 'C', 'D', …

Member Avatar for WaltP
0
144
Member Avatar for skiabox

How can I declare on top of my code a function that takes an array of ints as argument? Thank you.

Member Avatar for skiabox
0
88
Member Avatar for skiabox

If I leave some integer array items uninitialized I get sometime some strange numbers instead of zeros when I display the list of the array items. Why is it happening? Thank you.

Member Avatar for newbie_learner
0
92
Member Avatar for skiabox

I want to get the digits of a number the user entered without using arrays. Is it possible? Thank you very much.

Member Avatar for kings_mitra
0
99
Member Avatar for skiabox

I have a project written in vb.net and I am trying to convert it to c#. I have managed to convert it except from one file. Here is the old code of the file : MyWebExtension.vb [CODE] #If _MyType <> "Empty" Then Namespace My ''' <summary> ''' Module used to …

Member Avatar for kvprajapati
0
411
Member Avatar for skiabox

I have a master page with a treeview and I want to pass the onlick node value to a select statement that exists in the content page(in an sqldatasource control). How can I do that?

Member Avatar for IdanS
0
906
Member Avatar for skiabox

I am using this variable from the code behind : [CODE]public string UserID; //globally declare the UserId protected void RadGrid1_PreRender(object sender, EventArgs e) { MembershipUser myObject = Membership.GetUser(); UserID = myObject.ProviderUserKey.ToString(); }[/CODE] I am trying to use the variable in the INSERT command in the aspx file but it seems …

Member Avatar for serkan sendur
0
83