Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
~35.7K People Reached
Favorite Tags
Member Avatar for Benjamin_4

Hello guys, am trying to make a drop down menu such that the droped element is static, meaning when i click on <li> the menu shouldnt old but rather remain droped. Currrently with what i have anytime i click on the droped menu item, the droped menu disappears, even when …

Member Avatar for JorgeM
0
108
Member Avatar for Benjamin_4

i want to know how i can get a json response from my node.js server and display the response on my web page ` var request = require("request"), username = req.body.username, password = req.body.password, url = "https://api.ecoachsolutions.com/main.php?ecoachsignin=1&server=remote&user="+username+"&pass="+password; console.log("url is "+url); request.get( { url : url }, function (error, response, body) …

0
119
Member Avatar for Benjamin_4

i am designing an android app and in me deisgns there is one with a tabView thats hosts another tabView in one of the tabs. i want to know if there is a way to implement this design please, if yes i would appreciate some suggestions and pointers. below is …

Member Avatar for peter_budo
0
78
Member Avatar for Benjamin_4

i have a website which i sell my books on, now i want to redirect my users to the home page (index.html) when they click the download link and the file starts to download. Will really appreciate the help and support thanks. this is the php code i wrote <?php …

Member Avatar for diafol
0
104
Member Avatar for Benjamin_4

Hi guys, i wanted to find out if its possible to use just a single listView for different activities. For instance i have three activities (Pending Jobs, Incoming Jobs, Closed Jobs) which are supposed to use a ListView, as at now i have created ListViews for all three activities but …

Member Avatar for peter_budo
0
138
Member Avatar for Benjamin_4

i already have a main domain (pcgevangelism.org) and i created a sub-domain (evangelism-school.pcgevangelism.org). i have a menu named "evangelism school" now i want to know how to link my subdomain to my main domain (evangelism school menu). so when i click that menu it should take me to (evangelism-school.pcgevangelism.org Any …

Member Avatar for world_weapon
0
143
Member Avatar for Benjamin_4

Hello guys am new to android development. I wanted to know how create a scrollview in Potrait layout using XML in android. below is the code i wrote in XML <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <ImageView android:id="@+id/imageView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="5dip" android:src="@drawable/newuser" android:contentDescription="@string/todo"/> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" …

Member Avatar for peter_budo
0
211
Member Avatar for Benjamin_4

Hello guys i want create a table which willl consist of Regions and Location therefore when i take a region it should give me a list of locations under that region. i hope my question is clear enough THank you

Member Avatar for diafol
-1
166
Member Avatar for Benjamin_4

Hello guys i want to show a data in my combobox when i click on an item ion my jtable i tried this but it doesn't work. i would apprecite it if any one can help thanx String add5 = rs.getString("Id_branch"); branch_combo.setSelectedItem(add5); String add6 = rs.getString("User_Role"); UserRole_combo.setSelectedItem(add6);

Member Avatar for JamesCherrill
0
133
Member Avatar for Benjamin_4

Hello guys i want to know if its possible to format a text as it is done ms-word on a jframe? i want to be able to edit the text i put on my jframe by specifying the heading, making some texts bold, adding font color to som texts and …

Member Avatar for JamesCherrill
0
95
Member Avatar for Benjamin_4

how to store JTree data hierarchically in mysql database from netbeans. I am new to this topics so I need a program and tables you are using in database . for ex: Items |-shoes |-shirts |-half shirt |-sarees when i click on add button it should add nodes to parent …

Member Avatar for JamesCherrill
-1
1K
Member Avatar for Benjamin_4

hello guys i am still new in java and i have been battling with this problem. i want to filter my data in my jtable. i have got the following data in my jtable which is from my database. | name | gender | courses | |------|--------|---------| | Ben | …

Member Avatar for mKorbel
0
1K
Member Avatar for Benjamin_4

i want to populate my jtable with selected items in my jcombobox below is the code i wrote to perform the action but it does not. please am still new in java so i will appreciation the help. if(AssetCategories.getSelectedItem() == "LAND & BUILDINGS"){ try { String sql = "SELECT Description …

Member Avatar for mKorbel
0
201
Member Avatar for Benjamin_4

below's code is a code i wrote to get the value of 'monthly Depreciation' when i select the row on my jTable by either mouse-clicked or key-pressed. but it only selects the first value for 'monthly depreciation' when i click on the rows or key-press.the problem i know is coming …

Member Avatar for mKorbel
0
274
Member Avatar for Benjamin_4

i want to convert the value of my date into an integer value, i am using a jDateChooser in netbeans(swings) currently in my code below the value for inputDate is fixed or assingned but i want it to be based on the date a user picks using the jDateChooser. public …

Member Avatar for stultuske
0
24K
Member Avatar for Benjamin_4

double compute() { double monthly, acumulation; for(int y = 1; y<5; y++) { monthly = (Cost * numYears) / residual; acumulation = (monthly * y); return acumulation; } } this is function i wrote to compute monthyly depreiation and accumulation. but the error i get is missing return statemen and …

Member Avatar for JamesCherrill
0
130
Member Avatar for Benjamin_4

Honestly am writing an application and am stuck at this point. problem is am writing an asset derpreciation application and i am calculating for Monthly Depreciation,End-of-year value ,Accumulated depreciatio.I want get the results of the values in this form in my jTable when the calculation is done. for example when …

Member Avatar for mKorbel
0
204
Member Avatar for Benjamin_4

I want to create a jTree which when i right click on a node, should give me the options of "rename","add Region(parent)","add City(child)". the name of my jTree is branches As i am new to swing,Could any one help with code. Thanks in Advance. Regards, Sarkwa

Member Avatar for JamesCherrill
0
65
Member Avatar for Benjamin_4

drop trigger if exists update_asset; drop trigger if exists insert_asset; drop trigger if exists process_asset; delimiter | create procedure process_asset_calc ( in name varchar(50), in cost decimal(20,2), in life int(11), in whenacquired date, inout Months_Depreciated int(11), inout Accumulated_Value double(2,0), in residual_value double(2,0), inout Monthly_Depreciation double(2,0), ) BEGIN set Months_Depreciated = …

Member Avatar for pritaeas
0
150
Member Avatar for Benjamin_4

i want to write a function which calculates the Monthly depreciation and accumulation of an asset but i am having difficulties writing it to calculate and insert it into my datebase.I will appreciate the help private double getAccumulation(){ double Accumulation = 0; double Monthly_Depreciation; int Estimated_Useful_Life = Integer.parseInt(eul.getText()); double Cost_Of_Acquisition …

Member Avatar for london-G
0
154
Member Avatar for Benjamin_4

i want to get the value for Accumulation but it returns no value. Any help with resolving it will be appreiated private double getAccumulation(){ double Accumulation = 0; double Monthly_Depreciation; int Estimated_Useful_Life = 5; double Cost_Of_Acquisition = 2000; double Estimated_Residual_Value = 500; try{ Monthly_Depreciation = (Cost_Of_Acquisition - Estimated_Residual_Value)/Estimated_Useful_Life; Accumulation += …

Member Avatar for Benjamin_4
0
215
Member Avatar for Benjamin_4

I am writing an asset monthly depreciation system and i have written a code which works but i want to set the values such that the user enters the value manually into the system. Currently the values have been declared with a variable. this is my code // declare an …

Member Avatar for Proxet
0
183
Member Avatar for Benjamin_4

This a question please schools grades ------- -------- havard 90% with this table, i want to select the information in each column concatenate them and ouput the results in a textfeild. sample output = havard/90% so can you declare a column in mysql as a variable in java? if yes …

Member Avatar for Benjamin_4
0
158
Member Avatar for Benjamin_4

hello guys, i have created a jform which contains these field; ComboBox_decCode(description code) ComboBox_itemCode(item code) combo_Area(Branch_Area) ComboBox_dept(Branch_Code) txt_sn(Serial Number) i want to generate a serial key based on these information in my database. Description Description_Code --------------- ---------------- Lands & Building LB(001) Branch_Area Branch_Code ------------ ------------- Labone LB(001) now the idea …

Member Avatar for Benjamin_4
0
147
Member Avatar for Benjamin_4

<?php $connect = mysql_connect("localhost","root","bank1991"); $select_it = mysql_select_db("shalom presbyterian church",$connect); ?> <html> <head> </head> <body> <?php $full_name = mysql_real_escape_string($_POST['fullname']); $Phone_number = mysql_real_escape_string($_POST['pnumber']); $Email_address = mysql_real_escape_string($_POST['emailAddress']); $Comment_Questions = mysql_real_escape_string($_POST['feedback']); $addquery = "INSERT INTO contact_feedback(full_name,Phone_number,Email_address,Comment_Questions) VALUES('{$full_name}','{$Phone_number}','{$Email_address}','{$Comment_Questions}"; if($addStaff = mysql_query($addquery,$connect)){ echo "Feedback have been successfully sent <br>"; echo "<a href = \"contact.html\">Back to admin …

Member Avatar for Benjamin_4
0
109
Member Avatar for Benjamin_4

Is it possible to populate my Jcombobox with my database column names? the name of my jcombobox is 'jComboBox_AReport' and the db_Table is 'asset_report'. please am still learning so i will appeciate the help THANK YOU!

Member Avatar for Matt_5
0
66
Member Avatar for Benjamin_4

i have a ComboBox named 'ComboBox_status' which have default values 'In Operation' and 'Disposed' i want the background color to change to red when 'Disposed' is selected and green when 'In Operation' is selected. this is the code i tried but it changes the background to red for both of …

Member Avatar for mKorbel
0
395
Member Avatar for 203428
Re: Hi

hi all I'm 203428 (lovely name), i have the plaisir to be member of daniweb , so i'am a software engineer , my skils are uml/merise, java/j2ee, C++, php and my favorite script languages are shell linux and python. hope to be friends; thanks.

Member Avatar for Dani
0
73
Member Avatar for Benjamin_4

i want to calculate the depreciation of an asset and i want my accumulated value to automatically add the previous monthly depreciation value with the current one any time the user calculates for the monthly depreciation, the accumulated value should pick the results from monthly depreciation and add it to …

Member Avatar for cereal
0
2K
Member Avatar for Benjamin_4

I want to populate my jtable with columns from different table in mysql database but it only displays the column names and not the data or information under those columns. i hope this code helps u undertand what i mean. thanks private void Update_table(){ try{ String sql = "select Date_Acquired …

Member Avatar for JamesCherrill
0
209