3,671 Topics

Member Avatar for
Member Avatar for alba07

I am supposed to create a hit the target class with multiple classes. First place a ball that moves horizontally on the cavas, then create another class with a square that shoot up three balls when the user click the mouse. This class extends Active Objects. Any ideas?

Member Avatar for alba07
0
113
Member Avatar for saintlysav

I have a complicated problem at hand, and im open to any suggestions for solving it. Im working with a program called Psi which is written in C and has the GUI in Tcl/tk. A guy working on this earlier added 2 functions to get and set some properties of …

Member Avatar for saintlysav
0
137
Member Avatar for Matt Tacular

I have an image being displayed in a Tkinter window. I need a way to add letters to the image in certain spots depending on what is done by the user. Example: if button 1 is pressed, the peoples names appear over their heads, but I can't just switch the …

Member Avatar for mawe
0
4K
Member Avatar for husseina78

dears through my search on msdn, i found this phrase "image annotation tool button control " but i cant find any detailed information is this tool exist on vb6,is it helpfull in designing interfaces ? if so , please any help or tutorial thanks

0
69
Member Avatar for husseina78

i draw lines using mouse events i want add annotation like text to the each line i draw ,which describe what each line represent how would i create an instance(e.g. textbox) for each line and aligned it to its coressponding line thanks

0
61
Member Avatar for Acolyte

Hello, I have a simple script with 2 buttons positioned vertically within a sizer on a panel. A button-click event attached to the top button changes the height of the top button. However, even though the height of the top button changes, the height of the bottom button does not …

Member Avatar for Acolyte
0
105
Member Avatar for brainbox

Hi I am working on a project and i fortunately made the GUI in designer, but in the middle of the project the designer is not displaying the graphics , and unfortunately i cant enter or edit any controls as i cannot see the form design, it is giving me …

Member Avatar for JerryShaw
0
101
Member Avatar for Member #118470

I decided to evaluate a Java game and I chose the famous snake game (actually "snake pit") , since I am just a begginer at these things I need some help :sad: ! What are the typical Java characteristics in this game?? ([COLOR=red]How can I recognise that this is a …

Member Avatar for vinod_javas
0
207
Member Avatar for andy257

Hi All, I am starting out with learning the basics of C. Once i have learned that i would like to know how to make the programs look visually better. Things like drawing coloured boxes/ windows etc. One of my learning programs is a simple calculator. If i want to …

Member Avatar for ~s.o.s~
0
155
Member Avatar for arjunsasidharan

Is there any provision lik customised panel in java??? Can we design a customized frame in java?? i jus wanna knw whether v can or not.. don need t code:cheesy: if t code is available den post it :mrgreen: Thnx in advance!

Member Avatar for jwenting
0
104
Member Avatar for costavo

i am editing a devolped solution the problem is that check boxes are need in the datagrid but data is viewed in the datagrid without checkbox which exist but not viewed

Member Avatar for kapil.goyal
0
76
Member Avatar for kharri5

Hello, I have a program written up that is trying to use buttons to turn on and off the radiobuttons themselves. IF the user clicks on the radiobutton itself, then it should have no affect. This simulates a sort of UI touch screen affect, with the radiobuttons themselves looking like …

0
68
Member Avatar for peter_budo

In the JPanel I placed JTextField and JButton, as the layout I'm using GridBagLayout which is left to default align (center). However because of the size of whole JFrame I would like to get JTextField to left and JButton to right. How do I do that :?: [code] private GridBagLayout …

Member Avatar for peter_budo
0
128
Member Avatar for anti_genius

Hi, I have written a code, when it runs it loads an image and after getting image size it sets the size of the frame in the constructor. But now i want to load image using FileDialog box and then update the frame size as well. But when i access …

Member Avatar for anti_genius
0
111
Member Avatar for GliderPilot

I have a Rich Text Box in which the user can open a Font Dialog Box and change the FontStyle of the RTB. This feature works fine, however after a user makes the text bold or italic they cannot reset it back to regular. How do you do this?? This …

Member Avatar for GliderPilot
0
93
Member Avatar for JRM

Hello all, I know this is borderline off-topic, but then again QT4 is a C++ based program... I compiled QT4.1.1 on a fedora 4 OS. I finally got all the registration issues worked so that it works in it's native X11 form as an executable. However codeblocks is having trouble …

Member Avatar for n.aggel
0
378
Member Avatar for oltaug

[B]:eek:Please help me in making code for browsing button that connects to a radio button and shows a the picture that i've browse inside the computer, cause i rely don't know how to construct it....:!:[/B]

0
53
Member Avatar for dami06

Could someone please give me examples of a full GUI code.. Where I can find it to be precise.. Like images of it along with the java source code..thank you

Member Avatar for Member #46692
0
122
Member Avatar for sneekula

Is there a way to preselect/highlight a listbox item with the Tkinter GUI toolkit at the startup of the program without clicking the mouse on it?

Member Avatar for sneekula
0
1K
Member Avatar for Xzantose

I was wondering if it is possible to make a gui program in C++ without[COLOR=black] a toolkit, and if so are there any tutorials or books that I can read:?: [/COLOR] [COLOR=black] [/COLOR]

Member Avatar for blacklight
0
152
Member Avatar for soheilshoolookh

hi all; I'm trying to find a circle in a given image; Of course directx rendering is faster than gdi... but how can I access pixels of the given image. I couldn't find such a method like GetPixel() in the directx library.. In fact I don't know is it possible …

0
68
Member Avatar for revenge2

hello there, im new here and i want to start learning c++. I have a few books and tutorials however i could use some help with other tutorials and resources.. So basicly what i want to learn right now is how to make gui programms in c++. I know that …

Member Avatar for Ancient Dragon
0
143
Member Avatar for blacklocist

Hi All, Well I am for the first time messing with GDI+ and figured it's what I need to do for my project. I have been drawing shapes and pens and filling them in sorta like paint but I would like to be able to draw a bounding box around …

0
61
Member Avatar for mattyd

[U][B]I have two questions regarding Tkinter GUIs[/B][/U]:[LIST=1] [*]I have three buttons in a GUI; at times it seems that the buttons "stick". By this I mean when the mouse is clicked on one it may activate or it [I]may not[/I]. They all work correctly in regards to there function(s) but …

Member Avatar for mattyd
0
216
Member Avatar for chris99

I have the commands all ok, but even though the syntax is correct, the pic won't display. Here's the zip.

Member Avatar for Ene Uran
0
153
Member Avatar for itsnexgen

Hello guys, I am trying to design a Task handling tool. In the Right hand side, a panel which contains (columns and rows) as : Week/Time Monday Tuesday Wed ... 10:00 AM x 11:00 AM What i want to do here is, try to make a right click on the …

Member Avatar for Member #46692
0
93
Member Avatar for tradfreak

hello :-) I'm Sean and currently a 3rd year BS Business Admin. Major in Management Information Technology student... due to my limited programming skill... i know this would be a simple programming problem to you guys out there so i would like to get inputs on how am I to …

Member Avatar for fesago90
0
126
Member Avatar for tinuviel

i've been trying to code some GUI's on MATLAB and i can't seem to put pictures in the GUI. how do i put any image file in my computer on a MATLAB GUI? Please help... right now i'm just drawing lines with the 'line' function and... it's not pretty. ~taz

Member Avatar for tinuviel
0
65
Member Avatar for chris99

What am I doing wrong, I've done it before! [CODE]class Main: def __init__(self, master): self.master = master self.master.title('Role Playing Form V1.0') self.master.geometry('300x250+350+450') self.master.mainloop() self.cmdCreate = Button(self.master, text='Create Character', command=self.create) self.cmdCreate.grid(row=0) def create(self): pass root = Tk() main=Main(root)[/CODE] the button doesn't appear!

Member Avatar for bumsfeld
0
144
Member Avatar for JRM

Hello all, I hope this is the correct forum for this issue. I am using the FC4 distro which the most current YUM update is QT3*. I found a more recent RPM, QT4.1* which was for FC4. It downloaded and installed without a problem (although I can't say that for …

0
103
Member Avatar for ajaytee

Hey guys, i got my program working from the other thread i have but i dont know how to make it so each number 1,2,3,4,5,6,7,8,9,10, stay underneath each other in a textbox, its set to true on word wrap so im not sure what else i can do. Also is …

Member Avatar for Member #46692
0
98
Member Avatar for tech291083

Hi, I am using Fedora Core 5 32+ bit and suddenly when I open the firefox there is no connection to the net. I have not changed any settings at all. At boot it fails to get an ip but it does detect my Realtek card. The card is active …

Member Avatar for tech291083
0
113
Member Avatar for ajaytee

Hello all, im a beginner to VB.Net and kinda annoyed at the "not able to print to the screen and clear the screen facilities". Anyways i need to make a program to display the numbers 1-10 (a counter) on the form, my code so far is Private Sub cmdStart_Click(ByVal sender …

Member Avatar for jbennet
0
97
Member Avatar for dami06

Hi guys, I have a problem in a GUI i am trying to build. Below is the question and I was hoping you could help me out with what to do. Basically, I have do the first program which is to create a GUI but I am having a problem …

Member Avatar for Member #46692
0
120
Member Avatar for bluecat

Do you know how to save the content of a vector that is in a different form? Do I have to do a dynamic_cast or something like that? The vector has some numbers and I have to save them with a TSaveDialog that is in a different form.

Member Avatar for Lerner
0
94
Member Avatar for tinuviel

i didnt find a 'Matlab' thread so here i am. anyway, i've been trying to code some GUI's on MATLAB and i can't seem to put pictures in the GUI. how do i put any image file in my computer on a MATLAB GUI? Please help... right now i'm just …

Member Avatar for jwenting
0
101
Member Avatar for bluecat

To do shapes in the form I use a vector that stores a struct with the x, y, color and shape values of every shape I put on the form. I have to save and open these values. To save and open files with shapes. I use a TOpenDialog and …

Member Avatar for bluecat
0
119
Member Avatar for Dqube

I've to do a shool project where i have to write a messager in C with a friend of mine. We have to split our programm in to pieces <- Teacher said that. I do the GUI and he sends and revieves the XML-Formated messages. Now here is the Problem: …

Member Avatar for Infarction
0
76
Member Avatar for sneekula

I keep reading threads here, some use the Tkinter GUI toolkit and others use the wxPython GUI toolkit. Why would one use one or the other?

Member Avatar for sneekula
0
1K
Member Avatar for jaden403

I am trying to write a recursive function that will produce a fractal snowflake, but am not getting the correct results. For some reason it gets caught in an infinte loop, but I cannot figure out why. Any help is appreciated. [code] [COLOR=#941edf]private[/COLOR] [COLOR=#941edf]void[/COLOR] recursiveDraw([COLOR=#941edf]double[/COLOR] x1, [COLOR=#941edf]double[/COLOR] y1, [COLOR=#941edf]double[/COLOR] x2, …

Member Avatar for jaden403
0
113
Member Avatar for tori

In win 98 was the resource meter, I used to watch there the system, user, and gui resources. where is it in winxp? I know there is the cpu usage at the tasks manager, but where the other resources are shown? Thanks

0
90
Member Avatar for Sp!ke

I'm learning Java right now, and one of the projects I've been working on as practice lately is just a simple text editor (using Swing). The one thing, though, that I can't for the life of me figure out, is how to add scroll bars to the text box if …

Member Avatar for Member #46692
0
312
Member Avatar for MarkWalker84

Hi everyone! Im stuck... I'm currently writing a GUI program to control a piece of machinery. I am using wxPython along with a few other bits and bobs including USPP for serial access. My problem is that i need some way of 'pinging' the machine. ie I want to be …

Member Avatar for bumsfeld
0
94
Member Avatar for amishosh

I want to create the effect of a moving square. I would have to clear the previous position of the square and then draw a new one, right? And if that's tru how do I clear just that portion of the screen leaving the rest of my screen in tact? …

Member Avatar for John A
0
106
Member Avatar for Prashmon

import java.io.*; import java.awt.Frame; import java.awt.FlowLayout; import java.awt.Color; import java.awt.Insets; import java.awt.Dimension; import java.awt.event.WindowListener; import java.awt.event.WindowEvent; import java.util.Enumeration; import javax.comm.CommPort; import javax.comm.CommPortIdentifier; import javax.comm.SerialPort; import javax.comm.NoSuchPortException; import javax.comm.PortInUseException; public class BlackBox extends Frame implements WindowListener { static int portNum = 0, panelNum = 0, rcvDelay = 0; static SerialPortDisplay[] portDisp; …

Member Avatar for aniseed
0
170
Member Avatar for mattyd

I am in the end part of a Python Gui game build; it is going quite well but I am finding that I underestimated one area of the logic, incorrectly coding it: The game is blackjack. One area that, although it seemed simple on the surface (and in fact it …

Member Avatar for woooee
0
125
Member Avatar for mattyd

Hello: I am new to Java and I am working on a tutorial to familiarize myself with this language. The tutorial is a walk-through in building a basic text editor. So far the build is going fine, but I have come to a point where I am unsure how to …

Member Avatar for mattyd
0
280
Member Avatar for sandip.bhoi

Dear all, i am having a JTable, in which a column of each row is having a checkbox field. If the checkbox is checked then and then i should be able to modify the cells in that row, ...where the checkbox is. I have created the table with AbstractTableModel of …

Member Avatar for sandip.bhoi
0
184
Member Avatar for mattyd

About one month ago or so my Dr. Python compiler (interpreter) died. I had closed Dr. Python to go and eat dinner then came back to re-open and continued where I had stopped and... nothing. This came at a terrible time as I was in the middle of some very …

Member Avatar for Ene Uran
0
209
Member Avatar for mattyd

My current GUI program, in part, will display a button which the user may choose to press (or not, in some cases): [code] btn1 = Button(root ,bg="Black", text="HIT", image=image01,command=show_image2) btn1.configure(state=NORMAL,background='red' ) btn1.pack() [/code] This is basic and works fine. The issue I am having is that after the button is …

Member Avatar for mawe
0
3K

The End.