3,671 Topics

Member Avatar for
Member Avatar for Necrobat

I'm making a Connect 4 game for a school assignment, and my code should work in theory, but in reality it doesn't. Whenever I run the game, the board tries to draw itself, but then fails to do so. Can anyone please give me any advice? Thanks in advance. [code]unit …

0
65
Member Avatar for gabs

hi! In a GUI I'm making, I'm using a dialogbox, and I want the user to have an option to load a picture from file, and to see it on the dialog box. but here is where I need help. how can I display a picture on a dialog box? …

Member Avatar for ~s.o.s~
0
112
Member Avatar for arh

Hi guys. How would I go about installing the gnome desktop on my mac? I've got X11 running and all, but can't see to get it to work. Would someone care to give me some instructions on how to do this?

Member Avatar for hezekiahb
0
370
Member Avatar for varunb4u_05

Can any body help me to solve the problem of How to get integer values using Jtable from database

Member Avatar for varunb4u_05
0
78
Member Avatar for sliver_752

How do i put a Button indside the cell of a ListControl in wxPython. Thanks in advance.

0
65
Member Avatar for SHAMMU

i hav created one chat window...in that i added two richtextbox...one in the send window another is a main chat window...and i added font and color to that send window.. whilem typin g in that send window it shows all the font and color...but while sendin it displays that sent …

0
61
Member Avatar for volscolts16

I have a project that I am doing, but I cannot get my final answer to go into the text field that I want, it keeps coming out in a new terminal window. What did I do wrong?? import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; …

Member Avatar for volscolts16
0
115
Member Avatar for Jellomaster

I need help with a program I am making it creates window but doesn't display buttons aor text controls [code=python] import wx import MySQLdb db = MySQLdb.connect(host="localhost", user="root", passwd="Hornets71", db="soul_society") cursor = db.cursor() class MainWin(wx.Frame): def reg(): number = self.numtxtctrl.GetLineText() name = self.nametxtctrl.GetLineText() uid = self.uidtxtctrl.GetLineText() cursor.execute("INSERT INTO member_list (number, …

Member Avatar for jrcagle
0
98
Member Avatar for jan1024188

Hello For example I have a winapi GUI program called blabla.exe I have another winapi GUI program called TYCK.exe. Now how to make blabla.exe run in TYCK.exe?? I was using[CODE]system("blabla.exe");[/CODE], but this is not portable and it goes through cms, what I dont realy like. Is there any other way …

Member Avatar for Ancient Dragon
0
138
Member Avatar for Cerberus

Hi, i'm using a JTextPane that i've customized with a method to set up some tabstops. In my GUI class constructor i call the tabstop setup method and it works fine. I'm having a problem though when i load text into the TextPane. Even though i call the tabstop setup …

Member Avatar for Cerberus
0
71
Member Avatar for fredzik

G'day, First of all a very big thank you to both Jeff and Vegaseat for their great help...but sadly :icon_sad: it's not what I needed. Being a novice at Tkinter I did not realize what Tkinter was and was not capable of and I therefore blame myself :icon_redface: for any …

Member Avatar for fredzik
0
904
Member Avatar for nemo

I am trying to make a simple GUI based calculator for my homework. my +,-,*, and sqr functions work fine. i have to implement sqrt function for one of my JButton. am trying but have no clue what to put in event handler here else if(event.getSource() == sqrt) { ....... …

Member Avatar for peter_budo
0
99
Member Avatar for jk_bscomp

hello,,,everyone,I just want to ask a list of sites to where i could learn GUI programming in c++ for the beginners like me.i hope you could help me about this one and be one of my circle of friends.you may just add me in your yahoo messenger jk_bscomp or e-mail …

Member Avatar for wise_monkey
0
118
Member Avatar for realnsleo

hey there, could someone please help me with the api for using the flowlayout manager in java as well as a good example..thanks

Member Avatar for masijade
0
88
Member Avatar for rpk5000

Hey, this isn't an, "I have an error" post! It's more like I'm taking a basic java course in High School and want to include an image as a background in a project in swing. I found some code online that seems to do this quite well, but I need …

Member Avatar for rpk5000
0
172
Member Avatar for ksa

Hi, I'm currently trying to make a simple picture Puzzle Game ,but i have some questions. I hope I found the answers here . First, How I can separate a picture into small pieces? Second, I want the user drag and drop the parts of the picture into the playing …

Member Avatar for ksa
0
115
Member Avatar for nemo

Hi, i am a beginner in java. i have to put two text fields in my form, one for username and the other for password. i want the password text box to hide input when user types in it. Can someone please tell how can i do that in java, …

Member Avatar for almasalkhi
0
173
Member Avatar for Blujacker

Hi, it's me again and i have new question: This is my code: [CODE]# -*- coding: cp1250 -*- import string as _string import time as _time import wx from math import* class Canvas: def __init__(self,parent): self.okno=parent self.okno.SetBackgroundColour("#FCFCFE") self.radic = wx.FlexGridSizer(2,2,0,0) self.canvas = wx.ScrolledWindow(self.okno, -1) self.canvas.EnableScrolling(True, True) self.P_WIDTH = 1000 self.P_HEIGHT …

Member Avatar for jrcagle
0
263
Member Avatar for fowlergod09

HI, I am having some trouble with my assignment. I have created the gui and i am now writing the event handling. My problem is with the arrays. I have 3 seperate arrays all the same length.1 is a string and the other two are ints. in each array the …

Member Avatar for fowlergod09
0
141
Member Avatar for jrcagle

So it's like this: I want to create an 'activebutton' widget with the following properties. * The button itself is text that changes foreground color when the mouse hovers over it. * If the mouse hovers for more than 200ms, a PopupMenu appears that allows the user to select a …

0
86
Member Avatar for mjpjava

Dear Friends Im mjp java :* i have one doubt in drag and drop picture in panel . can u say me how to use different layout panels in drag and drop functionality.

Member Avatar for Member #46692
0
47
Member Avatar for Blujacker

Hi I am solving new problem and i cant find any solutin:( i have wx.PaintDC and i painted there some lines. I am trying to save it as file. I found only something about BufferedDC, but it didnt work corectly:( Thanks for all post!

0
51
Member Avatar for nemo240588

is this command not correct? [code]richedit1.text.ClearSelection;[/code] i tried to use it in an onclick event procedure, but i got an error.

Member Avatar for radu84
0
67
Member Avatar for squinx22
Member Avatar for Ancient Dragon
0
34
Member Avatar for omoz4real

Hi everyone pls I have got two images on a JFrame which are represented by labels.one of them is generated randomly and i want to compare it to another and if they are both the same a message dialog box is shown stating that the images are the same or …

0
72
Member Avatar for squinx22

just asking where could I get complete tutorials about c++ application making through the net.. Ur help is highly appreciated.. thanx... :?:

Member Avatar for John A
0
93
Member Avatar for Passing_Gear

Hi there everyone. I'm wanting to make a simple Snake game where the speed of a block (image) goes around by pressing up, down, left and right. I would also like it to go faster every 10 seconds so it gets harder as time progresses. Here is the code I …

0
77
Member Avatar for jonbc86

Java program with a menu of 6 items. -each of the 6 items has a check box -when the food is selected it appears to the right saying that so n so was selected. -then i just need a welcome screen before that to introduce the program -then the user …

Member Avatar for jonbc86
0
107
Member Avatar for jonbc86

import java.awt.*; import java.awt.event.*; import java.swing.*; import java.util.*; public class Main extends JFrame implements ActionListener { private DefaultListModel mod1=new DefaultListModel(), private DefaultListModel mod2=new DefaultListModel(); private JList 11 = new JList(mod1), private JList 12 = new JList(mod2); private JButton to=new JButton(">>"), delete=new JButton("<<"), ord=new JButton("order"); private JLabel costLabel=new JLabel("Total Cost: $0"); …

Member Avatar for jonbc86
0
107
Member Avatar for Don Gino

Hey Im new with linux and all, I recently installed Ubuntu 6.10. The thing I wana know is, how do I load up the GUI for Unbuntu? It always boots in text based. I dont know any commands yet for Linux, I will be learnin them next yr in my …

Member Avatar for Don Gino
0
218
Member Avatar for karan_21584

hey, here i have a question. i want to select a directory path alone... For example, by using "openfiledialog" control, we can select the file path (eg., d:\sample\dest.txt). But i want to select only the path (eg., d:\sample\).... can anyone help me ? thanks in advance...........

Member Avatar for karan_21584
0
375
Member Avatar for rzozaya1969

I have an application that I want to create my own dialog screens. For example, the user cliks on one frame, and I want to open a window for the user to enter data, after the user finishes, he presses OK and then the main app continues. On the class …

Member Avatar for lucky1981_iway
0
187
Member Avatar for FreeFull

Hello. I made an command-line application. Now I want tomake an gui version but I don't know which GUI I should choose. I want the executable to have requirements for libaries while running (so I don't think about using GTK). I tried QT but I don't know if I can …

Member Avatar for FreeFull
0
157
Member Avatar for ajay_tabbu

dire friends i write code in applet for scrole text left to right.now i want same thing in verical direction n cover full length of screen.so what i should do it

Member Avatar for ajay_tabbu
0
137
Member Avatar for Tauren

When your in the game and you hit someone it would display damage up at top of screen. For example: 4530 Crit! How would you get it to display the text?

Member Avatar for John A
0
87
Member Avatar for fulyaoner

Hi to all... In a MFC application, I need to change the background color of a drop down list - combo box control. IDC_MYCOMBO is the resource id and m_myCombo is the name of the control. I need to change the backcolor programmatically. Is there a way to achieve that? …

Member Avatar for fulyaoner
0
271
Member Avatar for pulse0

I was trying to write the falling letters program in C but could not figure out a way to locate a letter on the screen and make its y axis decrese every lets say 1 second? If I use either printf or cout it print the letter in one line …

Member Avatar for pulse0
0
109
Member Avatar for Sohom

I need to make an application where data from the database has to be displayed in bars and charts.....gauges will also help......what approach to follow...where can i get customized widgets??????...help

Member Avatar for Member #46692
0
51
Member Avatar for the_glitch

I originally joined this site almost a year ago so i could find out the name of the GUI library that's in most compilers. Didn't get much help back then. But I hope that will change. I'm making a sudoku game in C++, so obviously I need a matrix (or …

Member Avatar for Member #46692
0
248
Member Avatar for trihaitran

Hi I know this sounds really stupid, but I cannot figure out how to run the wxPython demo program. I'm using OS X and I downloaded the latest demo/docs package. When I double click on the "wxPytho demo.app", there is a splash screen with the wxPython logo, but then there …

Member Avatar for leeqiang
0
350
Member Avatar for alba07

I wrote a program in java that takes a message entered in the shell and flashes the message, then click the quit button to quit. Now I am supposed to rewrite it in python. So far in TKinter I only have the actual quit button (gui). I have no idea …

Member Avatar for alba07
0
260
Member Avatar for alba07

Can someone help me rewrite this java program in python. This program takes a message from the shell and flashes the message one word at a time. Now I am supposed to rewrite it in python (tkinter), I have the gui done and my quit button works, but I cannot …

Member Avatar for stymiee
0
109
Member Avatar for zam

plz help me with my program i want to create a program "LED Message Board Simulator" but i don't know how to start and to create them. can anyone give me example source code of that program?

Member Avatar for Salem
0
23
Member Avatar for hammerhead

I have created a custom control that can be added or removed from a form. On the form, I maintain a list of the created controls using an ArrayList. On the delete button of the control I have coded [code] this.dispose(); [/code] It results in successful deletion of the control …

0
76
Member Avatar for 7arouf

hey i have a problem... i am working on a car dealership object-oriented program project and i am working on the (admin part) in which i can add cars, delete cars, and modify cars... so that as soon as i change info on cars, other users can see the changes... …

Member Avatar for Member #46692
0
87
Member Avatar for mhovidz

Good day! I have a problem about hiding and unhiding a web objects in AxWebBrowser using VB.Net. Our teacher's condition are: (1) There must be a command button outside the AxWebBrowser. The command button will generate a random number from 1 to 4. (2) After generating random number it automatically …

0
75
Member Avatar for Toc7777

Hi all, I have a GUI based roulette game with two classes a bet screen and a main menu screen i need to know how to say if a button is pressed in the bet screen to do its operations and then close and return to the main menu screen. …

0
55
Member Avatar for onsir

Hi, how to using function "for" to show iteration and the result put in jTextArea or jFrame. exp: i want to loop value 1 to 10, then result : 1 (iteration 1) 2 (iteration 2) . . 10 (iteration 10) I'm using netbeans Thank's

Member Avatar for Phaelax
0
105
Member Avatar for omoz4real

Pls i am a new member of dani web and i need help on implementing random images. I have got six gif images on my frame ,a JComboBox and a Button.the JComboBox displays the images if each one is clicked.I want to add an actionlistener to the Button so that …

Member Avatar for omoz4real
0
1K
Member Avatar for pallavi.padav

hi i am a beginer in VC++ . i would like to know whether it is possible to Draw a line in the picture control by taking the values from the edit box i.e (x1,y1) and (x2,y2).

0
65

The End.