4,919 Topics

Member Avatar for
Member Avatar for JOSheaIV

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 …

Member Avatar for JOSheaIV
0
1K
Member Avatar for lucy1997

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 …

Member Avatar for Taywin
0
184
Member Avatar for psy.blast

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), …

Member Avatar for JamesCherrill
0
244
Member Avatar for hlamster

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 …

Member Avatar for AleMonteiro
0
449
Member Avatar for nyxie

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 …

Member Avatar for abc0502
0
154
Member Avatar for Swiftle

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 …

Member Avatar for Swiftle
0
2K
Member Avatar for anandschiru

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() { …

Member Avatar for anandschiru
-1
281
Member Avatar for vegaseat

This Python Tkinter GUI toolkit code draws a shape, and shows you when and where the mouse has been clicked within the shape.

2
4K
Member Avatar for dragonshadow001

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.*; …

Member Avatar for richieking
0
252
Member Avatar for SuburbanSamurai

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 …

Member Avatar for Ancient Dragon
0
210
Member Avatar for anandschiru

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 = …

Member Avatar for Taywin
0
343
Member Avatar for adil.mahmud.choudhury

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 …

Member Avatar for woooee
0
180
Member Avatar for Tortura

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 …

0
127
Member Avatar for savedlema

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 …

0
118
Member Avatar for 9tontruck

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 …

Member Avatar for 9tontruck
0
191
Member Avatar for Darshan5

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 …

Member Avatar for JamesCherrill
0
189
Member Avatar for ownedbynothing

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 …

Member Avatar for mKorbel
0
599
Member Avatar for Maria Jose

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. …

Member Avatar for untio
0
133
Member Avatar for gorgoro

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 …

Member Avatar for gorgoro
0
269
Member Avatar for jontennyeah

i have a 1 listview with the records from my ms access datebase. Can you help me to work with the button than can search all the records in each cell / subitems on the listview? THAnKS godbless :)

Member Avatar for jontennyeah
0
109
Member Avatar for ben.sugden

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 …

Member Avatar for ben.sugden
0
224
Member Avatar for KronoAngel

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 …

Member Avatar for stultuske
0
323
Member Avatar for Maria Jose

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 …

Member Avatar for Maria Jose
0
130
Member Avatar for mpatel1967

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 …

0
46
Member Avatar for krystosan

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

Member Avatar for vegaseat
0
287
Member Avatar for bobejoe

can anyone give me a simple assembly program in win32 and how to compile in

Member Avatar for untio
0
90
Member Avatar for myk45

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 …

Member Avatar for deceptikon
0
493
Member Avatar for jalpesh_007

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. …

Member Avatar for jalpesh_007
0
196
Member Avatar for jorgmen

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 …

Member Avatar for np complete
0
153
Member Avatar for london-G

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

Member Avatar for Ajinkya Jagtap
0
110
Member Avatar for delta_frost

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 …

Member Avatar for Taywin
0
121
Member Avatar for vishu.bhavsar

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!!!

Member Avatar for JamesCherrill
0
204
Member Avatar for tammy12w

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 …

Member Avatar for TrustyTony
0
164
Member Avatar for adityawkhare

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 …

Member Avatar for NormR1
0
192
Member Avatar for floriza.cruz.5

Do you know how to create a java program with gui output?Please help me,it so hard to do..tnx a lot

Member Avatar for JamesCherrill
-1
98
Member Avatar for gm.rupert

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 …

Member Avatar for NormR1
0
2K
Member Avatar for david17123

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 …

Member Avatar for technoknol
0
1K
Member Avatar for priyaghogare

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

Member Avatar for poojavb
-3
86
Member Avatar for khalidshakar

** 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 …

Member Avatar for JamesCherrill
0
3K
Member Avatar for bruizer

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; …

Member Avatar for NormR1
0
285
Member Avatar for adityawkhare

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?

Member Avatar for JamesCherrill
0
66
Member Avatar for WDrago

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 …

Member Avatar for WDrago
0
216
Member Avatar for Dendei

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 …

Member Avatar for ddanbe
0
266
Member Avatar for sss93

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 …

Member Avatar for deceptikon
0
240
Member Avatar for esedee

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 …

Member Avatar for Mike Askew
0
80
Member Avatar for sss93

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 …

Member Avatar for mike_2000_17
0
386
Member Avatar for habenero

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). …

Member Avatar for AndreRet
0
282
Member Avatar for WvTxMan_1

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 …

Member Avatar for JamesCherrill
0
203
Member Avatar for Labdabeta

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?

Member Avatar for Labdabeta
0
240
Member Avatar for dban07

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 …

Member Avatar for G_Waddell
1
265

The End.