899 Topics
| |
** //When an item from the list is selected, a checkbox along with the drawn graphics schould appear. but only the graphics appear. Help? *basic** import java.awt.*; import java.applet.*; import java.awt.event.*; import java.awt.Checkbox; public class GetSelectedItemExample extends Applet implements ItemListener { Choice c; CheckboxGroup g1 = new CheckboxGroup(); Checkbox checkBox1 … | |
Hey guys im populating a combo box from my database i was just wondering how do i prevent the combo box from displaying different instances of the same value. e.g three B&Bs all from ennis. ennis is in the combobox but its displayed three times. how do i stop this … | |
hi everyone... my problem is i got 2 command button named command1 and command2..what i want to happen is when command2 is click the function of command1 will work... can someone please help me... | |
Please visit http://www.cuteework.com/members.php Login button not work. here is members.php file details. <?php session_start(); session_register("id_session"); session_register("password_session"); include "header.php"; include "config.php"; $a=""; $b=""; if ($_POST) { $a=trim($_POST["id"]); $b=trim($_POST["password"]); $a=str_replace("'","",$a); $b=str_replace("'","",$b); $a=str_replace("\"","",$a); $b=str_replace("\"","",$b); } if ($a=="" || $b=="") { if ($_SESSION["id_session"]=="" || $_SESSION["password_session"]=="") { ?> <form action=members.php method=post> <br><br><Center><table><tr><td colspan=2 align=center><h3>Members Login … | |
Hello generous java coders!I am really in a desperate situation now. I have a working gui code here: import java.awt.event.*; import java.awt.*; import javax.swing.*; public class CountdownTimer extends JFrame { JLabel promptLabel, timerLabel; int counter; JTextField tf; JButton button; Timer timer; public CountdownTimer() { setLayout(new GridLayout(2, 2, 5, 5)); promptLabel … | |
Hai all , I am trying to make a google+ siginin button for my site. I went through this link https://developers.google.com/+/web/signin/#button_attributes and tried to make it working but now my styling is all messed up. I am not able to mess around with the [class='g-sinin'] in CSS. This is my … | |
Hello All, Objective is to manage **radio button Dynamically**. One should be able to *add/delete radio button by ADD and DELETE button* in form. To make CLEAR the question, please look at the image "BUTTON". In addition, it should be displayed with updated values (*Need to manage from database side … | |
Hey Guys, I'm want to output a calculation to a JLabel. Example: double num1 = 14; double num2 = 3; double ans; ans = num1/num2; JLabel jl = new JLabel(); add(jl); jl.setText("The Answer is: " + ans); Currently the answer for this will be 4.666666667. Now if this was a … | |
Hello, I have a problem that I'm pretty sure I already got done before but I got lost since I didn't note down my changes with my code. My problem is that I need my displayed calendar to move fluidly showing the next 4 months and the previous 4 months. … | |
Hi, I would like to know how I would modify the close (X) button in the GUI. For example, I would like to be able to have the user click on it and the program to bring up a message box from the MessageBox::Show() function that I type in. This … | |
I would like to make a program in which the user selects a time frame, for example if he selects from a DateTimePicker1 the time 7 (July), 17th, 2012 through DateTimePicker2 7 (July), 20th, 2012, and presses the button, a text will show up in a textbox from which he … | |
Hi everybody, I have this really little piece of code wich I want to implement inside wordpress: http://jsfiddle.net/YPAy6/9/ I simply need how or where to put the "function" and how to call it from a post in wordpress. Any idea? really thanks! PD: I'm loading all scripts from google's cdn … | |
Hi guys, i was wondering if there is a way to link a word document to a picture button in InfoPath 2010? if so how do i go about it? Thanks | |
This Python snippet shows how to control a VPython visual 3D sphere with Tkinter GUI toolkit button clicks. | |
Hi all, Following codes starts the video on another page by clicking the image but without a button on it. [code] <h3 style="text-align: center;"><strong><span style="color: #0000ff;">How To Play-The-Game</span></strong></h3> <a href="http://mydomain.com/path/to/How-To-Play-the-Game.mp4" target="_blank"><img class="aligncenter size-medium wp-image-156" alt="stocks_fr_beginners" src="http://mydomain.com/path/to/How-To-Play-The-Game-300x185.png" width="540" height="333" /></a> [/code] Please advise how to add a HTML button with a … | |
hi everyone i am try to write a code for a checkbox that work like a radioButton dynamicaly in vb.net. i.e. if i have 5 check box and i try to check the first one other will become unchecked. Second with same code if i increase the number of check … | |
i am trying to get the value of radio button which is generated by jquery. I think there is some problem in call events. Here is my code. HTML `<div id="divOption1"></div>` Jquery radio button generate `document.getElementById('divOption1').innerHTML = '<input id="option1" type="radio" value="1"/> '+ questions[currentQuestion]['option1'];` here i call jquery function to get … | |
In my website a webpage contains different news each links to different pages which has detail info. I put **sharethis button** under each news headings. But when I started sharing specific headline the current webpage where all the news headings are shown is shared. Is there any alteration needed to … | |
Hey guys, I'm having a bit of trouble with my gradient button. It looks great on Webkit, but when I try writing the gradient for FF, Opera, and IE, it doesn't work. Here is my gradient code for Webkit: background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(135,224,253,1)), color-stop(25%, rgba(83,203,241,1)), color-stop(50%, rgba(5,171,224,1))); … | |
Ive been stuck on trying to validate multiple radio buttons. Can anyone please help me out? I have about 5 radio buttons....... | |
I am coding an image puzzle game and one part of the code is to compare the pieces the user has selected to the pieces of the correct image to check if it is correct. Each image piece is already added to a JButton as an ImageIcon. An identifier is … | |
Right everyone, here's my problem. I have just paid £45 for a book on Qt, have had a nightmere getting it sorted, and finally I can build apps to this extent... I have an app, *test.pro*. I have built it using `qmake test.pro` -> `make` which works. I am using … | |
hi all, newbie wanna ask... :) if i have a button, normally (before it clicked) the button is just like usual, but if i clicked it, in the button appear dotted line, how if i want to before and after he button clicked without dotted line? please see the pict, … | |
Hello there. Sorry that I don't really know much about drop down button in php. I was assign to do a booking system as my final project but somehow I don't know how to make the button works. It suppost to be like this. The user needs to choose which … | |
Hie all l have an Hp Proliant ML110 G5 and l have installed Unix ScoServer 6 but it is not giving the GUI when i press CTL+ALT+f2, so l can l in the command line configure that so that l can get the GUI for either a standard crt monitor … | |
I have two buttons Max and Min, if i click any one of the buttons it should show three more radio buttons called Age,Name,School, how to implement this help me out. | |
I have a volunteer database and having trouble with genuine password protections. I have a "delete" button with this current code under Build Event: Private Sub delete_Click() On Error GoTo Err_cmdDelete_Click DoCmd.SetWarnings False If MsgBox("Delete this VounteerRecord. Are you sure?", vbQuestion + vbYesNo + vbDefaultButton2, "Delete?") = vbYes Then DoCmd.RunCommand … | |
I was wondering the best way to implement a square root button. Below has everything from 0-9, the four functions, and a decimal and clear function. Dim valueOne As Single Dim valueTwo As Single Dim operation As Integer Dim answer As Single Private Sub Button1_Click(ByVal sender As System.Object, ByVal e … | |
This is my program so far: package allin1; import javax.swing.*; import java.awt.event.*; import java.awt.*; public class Allin1 { JFrame frame = new JFrame(); JPanel panel = new JPanel(); JButton b1 = new JButton("Exit"); public static void main(String[] args) { panel.add(b1); //THIS IS THE PROBLEM?? } } The error I am … | |
When the button is clicked, I want the file (it's a XPS document) to be opened in windows. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions? |
The End.