4,919 Topics
![]() | |
Interesting name for a title wouldn't you say? Well I couldn't find any better way to put it. Anywho, I have been working on a new program that is designed to read in a website ever so many many seconds, parse the data, and update the GUI. Now I have … | |
Please help I've written this code and it works until i asked it to check if the radio buttons were checked and if none of them were checked to come up with an error alert and if one of them was checked to ask the user to confirm if it … | |
Hello Daniweb Members, I am a beginner programmer and I have a problem, I am doing a PAT (Practical Assessment Task) for my school and I have come accross a huge problem, I'm trying to get a value from a selected combobox in Netbeans, (I am using the GUI builder), … | |
I have the show/hide table rows function working great now (thank you), but I am having a problem with using the back button. If someone has yes to one of the items (yes/no radio buttons) the onClick event in the input tag causes the appropriate info to display. BUT when … | |
I suppose I should post my question about the Twisted http server here, but correct me if I am wrong. I don't know much about python or the twisted server, but I have a project on it and I must install it in my pc. I have googled some stuff … ![]() | |
Hey, I made a small program for the k-clusters algorithm. In the current state though, I'm unable to erase the position of the centers from the previous itterations. If I use paintComponent(g) my jPanel will move down to the right and I have no idea why. (as shown here: http://tinypic.com/r/2eba0j8/6 … | |
import javax.swing.* ; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.Calendar; import java.util.*; import java.text.*; import java.util.Date; /* <applet code="gui.class" width=250 height=100> </applet> */ public class gui1 extends JApplet implements ActionListener { JTextField t1,t2,t3,t4,t5; JLabel l1,l2,l3,l4,l5,l6; JButton b1,b2; Calendar c1,c2,c3; JPanel p,p1,p2; Date sd,sd1; SimpleDateFormat sdf; public void init() { … | |
This Python Tkinter GUI toolkit code draws a shape, and shows you when and where the mouse has been clicked within the shape. | |
Hello I'm tring to creat a specific Look in my Java JUI but my code is giving me errors when I try and launch it. Here is my code please take a look and tell me where i'm going wrong. Its a simple login interface for my program: import java.awt.*; … | |
Hi, I have been coding for a number of years but cut my teeth with mud (multi-user dungeon) merc code. I have never coded a gui program before only console based applications. I have a program that I am trying to write in gui and have sort of gotten the … | |
import javax.swing.* ; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.Calendar; import java.util.*; import java.text.*; /* <applet code="gui.class" width=250 height=100> </applet> */ class gui extends JApplet implements ActionListener { JTextField t1,t2,t3,t4,t5; JLabel l1,l2,l3,l4,l5,l6; JButton b1,b2; Calendar c1,c2,c3; JPanel p,p1,p2; Date sd,sd1; SimpleDateFormat sdf; public void init() { SimpleDateFormat sdf = … | |
I am very new to python. I have developed a program using the GUI of python. My development is almost done but i am stuck with a point. I have designed my gui using Listbox to read data from a file and show it. All i need to add a … | |
Hey guys, I'm trying to move data by clicking on a QPushButton from one QTreeView in the second QTreeView. Do you know how to do this. I know that I have to connect the QPushButton with a method which makes this possible. I don't really know how this method looks … | |
Hi friends! I'm looking for an easy way to enable a user of my app to print the contet of a GridView.However, I think an easy way will be to convert it into a Crystal Report or pdf (many people say to pdf is terrible), so, I'd like to convert … | |
Hi, After I make a GUI program on my computer nicely, every object in the form often changes in its location and size in different computer. I know it is because the monitor resolution is different and there are several solutions on the web but none of them actually works … | |
Can anyone tell me how to use Java Keylistener to add validations in my java gui form?? eg. I have a textfield. I want to enter only alphabets in it. I dont want any numerics. So when a user tries to type a numeric value in it, I want to … | |
this is Sudoku.java this is the main class. Reminder does the time keeping, the SudokuBoardDisplay displays the board and draws images. The one who handles the logic is the SudokuModel How do I make the images clickable and do something. how to display the remaining time as JLabel ....? i … | |
Hi. This is my code for creating a calculator gui in assembly language. What I want to do is to click any number from 1-9 and it will show inside the textfield. Unfortunately, I'm still confused on what to do. I hope you can help me with this. Thank you. … | |
I want to start as junior in Java in a company but they ask me to present them some tasks that ensures that i am more than a junior.they offer me a task to create a Swing Gui with buttons and stuff.I have already a good knowledge of Java from … | |
I am responsible for developing and maintaining a widescale CRM platform written with Visual FoxPro 9.0 (sp2 SEDNA). Alongside a SQL 2008 back end, I make extensive use of the Microsoft Common Control libraries for the purposes of providing TreeViews, ListViews and the like (the kindof theing that VFP does … | |
I am not to sure what the error is in my code but the order variable does not seem to initialise properly and hence my gui displays the wrong output, for example when cheese,tomato and chicken are selected it only displays Chicken with Tomato Tomato $12.75. Any help will be … | |
Hi. Can anybody help me how to shorten my code? This is for a calculator gui using assembly language. .model small range macro x,y ;set cursor mov ah, 02 mov bh, 00 mov cx, 00 mov dh, x mov dl, y int 10h endm display macro char mov ah, 02 … | |
Hi All, Working on legacy code written in 1993. All written in ANSI-C and using Greenleaf Data Windows for GUIs. I need to gut out the old GUIs and replace with forms, but leave the core code intact (don't really want to rewrite it). We have the code compiled as … | |
class gui(): def selCon(self): print selection def create(self): inst=gui() cmds.button(l="Connect to Selected",command='inst.selCon()') I keep getting error saying name 'inst' is not defined # dont understand when method is in the same class and when I am making a call clicking the button i get this error message | |
can anyone give me a simple assembly program in win32 and how to compile in | |
Hi All! This article is mainly focused at someone who is completely new to Software versioning. In this article, we see how Git can be used as a tool for versioning software. Please note that this is very brief. There are many videos/articles that deal in detail. 1) **What is … | |
dear all, I have made one program, but i am stuck with one problem. I have taken one scrollpane in simple desktop GUI application in java. My hierarchy of Scroll pane is as below. JFrame |_JTabeedPane |_JScrollPane |_JPanelMain |_Jpanel |_JPanelA |_JPanelB Now all the components are in JPanelA and JPanelB. … | |
Hello everybody... I have been using c++ for a while for console applications, but now I need to make a simulation of a soda factory, implementing multi-threading and GUI. I was using Dev c++ for console apps, and I tried to install some dev-packs for multi-threading and GUI development as … | |
When I run the application my labels are al spaced out, however in the design they are fine. Do you have any ideas why? Also when I preview the jframe everything looks fine. Thank you | |
What is the component called in a GUI ? I am designing an application where I need to show certain usernames besides along with the points they have scored in a game.I don't want to do it in a table.I want to use the component shown in the picture below.But … | |
Hi all, I am creating one GUI application in java. I need to make menubar visible when particular panel is made invisible. Is it possible by creating an event which will be triggered when panel is made invisible? Can anybody help me? Thanks in advance!!! | |
so lets say you finished your program. you made the GUI and it runs fine. so everytime you want to run your program you have to go to python(or what ever you use) lauch it to see your program. my question is what code or what do you have to … | |
Ok so i made a game in which a random no. is generated and user have to guess it. The game givesclues like Higher or Lower to user. When a guessed no is found a new jframe opens in a new class gui.class. Now i want to pass the argumets … | |
Do you know how to create a java program with gui output?Please help me,it so hard to do..tnx a lot | |
can anyone convert this code to GUI?? I really don't know where to put the GUI codes in it.. :( please help.. :( import java.util.Scanner; //main class public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter the size of the array: "); int … | |
Hi! I've just realised a weird behaviour regarding Windows Defender in my laptop. Whenever I open (run) it, either by prompting to run a scan or just to open the GUI, it always closes itself immediately (even before it finishes scanning my computer if I open it to scan my … | |
write a program code in vb.net for inputting percentage marks of a student and decide whether he got pass , second,higher,first or distingtion class .consider one command button and text box in GUI | |
** Please Help. When I call this class, it causes the program to stop responding? Actually I used a button must be clicked to start call the class in another class to run it. after I press that button it causes the program GUI to stop responding. I am developing … | |
import javax.swing.*; import java.awt.*; import java.text.*; import java.awt.event.*; public class SchoolApplet8 extends JApplet implements ActionListener { double userAmount; double userInterest; double userTerm; int month = 0; double remainBalance = 0; double interestPayment = 0; double principalPaid = 0; JPanel row1; JLabel lblAmount; JTextField txtAmount; JLabel lblInterest; JTextField txtInterest; JLabel lblTerm; … | |
I have developed a calculator gui using netbeans. I've a decimal button which i want to be pressed only once. Is there anything like single selection for jButton? | |
All, I am working on my first forms app (using NetBeans). I don't like to mix GUI code with app code, so I have my main class, GUI class and core code class nicely seperated. When the user clicks a button on the GUI form it calls a method in … | |
How do I code if I am coding what will happen if I press a button. and then ask a question and want to wait until either of two others buttons are pressed like an yes or no question say i code something and to continue i need the answer … | |
Ive just started going through and developing basic applications using the win32 API, and couple of times I have come across people mentioning that directly using win32 is not wise...I've just started using the library and personally think its nice and easy to use. However Ive been seeing things like … | |
hi guys pls i nid help i already have my game working fine but what i need is that if a player win his record should be writen to a file...i.e i need help on how to store the winners details so i can always refer to it wheneve i … | |
Hey so for a couple of months now Ive been facinated with c++ and have been going through various tutorials and examples of creating console based applications dealing with arrays,pointers, classes, etc.So I really want to get into the GUI side of it. But from word of mouth I hear … | |
This is what I want to do; I would like to generate some files (csv) with VB. For example for my fantasy sports teams I keep track of the teams stats, lineups and standings. All 3 for 24 weeks. So if I could generate (CSV) files such as filename-homers_lineup_wk_1 (CSV). … | |
I have created a form in netbeans with two radio buttons in a button group with a text box. Box 1 = Yes Box 2 = No when form loads no is already selected. I want the text box to be ivisible until user selects yes. but everything I have … | |
Hi, I am wondering if there is a somewhat simple way to output extended ascii values in c. Basically I am thinking actually about unicode characters, stored in ints. Is there an easy way to do this, or would it require a custom gui console? | |
Hello friends, I'm a Computer Security student. I need some opinions for my Final Year Project idea. Im planning to create an application on VB.NET which protects a network from unknown users like hackers by filtering their MAC addresses/Hostname/IP. The application will work similar to the software inside the modem/router … |
The End.