4,919 Topics
![]() | |
I am working on a really fun project. I have written much of a program that lets you use a RockBand or GuitarHero drum kit to play drum sounds on your PC, record, playback, ect. I have decided conclusively as I add features I need more than just a gui … | |
I have a .flv file (and also the original .mov from which the .flv was created) that i have imported into a new .fla - I also have created a button and assigned actionscript to the button that links to a new web page. The button works correctly. My issue … | |
arrgh. I've been messing around with displaying a serial feed in PyGTK. For some reason whenever I thread the little bugger the GUI hangs. YES, I've read the PyGTK FAQ (most of my code came from it) Any help would be really appreciated! [CODE] import threading, thread import gobject, gtk, … | |
I have to be honest. I am about to quit college and I just recently started. I have no clue about this assignment. I need help...badly. [COLOR="Red"] For the lab this week, you will need to connect to data via JDBC and run a query such that the result is … | |
Hello people, I'm completely new to Python, and I mean new. I've had some experience with programming in Java and C++. Although, the truth remains that I haven't had any experiments with GUI. But that I will do.... Also, now the time for the doubts, 1.Is Python entirely OOP? 2.If, … | |
Hello! I would like to ask on how to create a node using GUI (pseudo code will really help) . It seems that my code does not create a node. I used JLabels and ActionListener to retrieve the data from the JLabels. My plan is to input all the necessary … | |
I got 2 machines both has the same operating system (Linux based), lets name these machines as PC 1 and PC 2. PC 1 has a hello world program that displays in a GUI, when we pass the command " java helloWorld smith " (smith is the parameter), and we … | |
As the title states, I'm trying to learn how to create a custom GUI window for Windows. Basically I'm asking how I can output pixels to the screen without using any of the default windows gui classes. | |
Hello. I am constructing a database using GUI. I wanted to have all my containers to be on one window. I am having a problem on how to have these containers on one window. Any suggestions? I am very sorry if the code was seem weird. Here's the code: [CODE]public … | |
Hi, I am trying to make a memory card game but im not sure how to get started with the GUI part. I have made the frame and the content pane etc and have a working menubar but as to how I would display 40 cards im not sure. I … | |
hi! I have a form to add content in database(addcontent.php) and one file which shows the content(content.php).Database has id,title,content columns. IS it possible to make the content.php to "$_GET" the id's from the database and show them on the page as : content.php?id=1 And other thing. i have buttons in … | |
Write Your First Application On Win32 ===================================== What is Win32 :-) win32 is an plactform that like J2ME and J2SE means that it have it's memory model and have a architure and have those Applications programming interfaces to call to the operating system . Like the APIS in the java … | |
Here's the thing I want to compile this program in c using the GUI environment, but it isn't working out. I know that you can make a new project with windows32 GUI but it still isn't 'getting' the custom library. Am I missing something like linking the library somewhere else? … | |
Okay i have created a wxPython application and converted it into an windows executable programme using py2exe. The app works perfectly but every time i run the exe the console window appears with the gui. Is there anyway to get rid of the console because the app has to run … | |
[CODE] def create_widgets(self): B_PAD = 4 PAD_X = 3; PAD_Y = 2 NUM_PAD = 7 '''Create Boolean variables for all the buttons.''' def create_button_vars(): self.backspace = BooleanVar() self.CE = BooleanVar() self.C = BooleanVar() self.MC = BooleanVar() self.MR = BooleanVar() self.Mminus = BooleanVar() self.num = [] for i in range (10): … | |
Hello all, I have a question about coupling C++ classes to a GUI, in a nice Object Oriented solution. The problem is as follows: I have designed a GUI application in a separate class Gui for instance, in a other source file I designed a hierarchical statemachine for my GUI … | |
The commonly used syntax: [CODE=Java] public class Foo { private int x; public Foo(int x) { this.x=x; } } [/CODE] Is actually "flawed." If you have an anonymous inner class inside the Foo constructor (i.e. if this were a GUI code and you were adding an ActionListener) then the private … | |
i have 2 gridview. i put this java script for chekbox, my id is [email]<<Email Snipped>>[/email] plz help me , if u knw the ans thn plz reply me , thank you [code] <script type="text/javascript"> // Let's use a lowercase function name to keep with JavaScript conventions function selectAll(invoker) { … | |
Hi all! I am building a small app with pygtk as the gui. I have a thread that communicates over the network and when the user clicks a button I want a variable to be updated in my communication thread. I have made a class that subclasses Thread: [CODE] class … | |
Thanks so much for bothering to look at this n.n; I've been kind of confused in this class, mainly because I have no idea what the teacher's saying; her English isn't that great, and she has no in-class coding exercises so we're learning entirely from her crappy powerpoints. I'd have … | |
I want to read data from a file with the following information: -An integer n (between 1 and 5) -n Rows of n integers Example: [CODE]3 8 1 6 3 5 7 4 9 2[/CODE] Which means displaying a 3x3 matrix with the numbers 8 through 2 each in a … | |
I want to make a programme for adding data in my my database(mysql).I did everything right and i can add,delete,change,get data using MySQLdb. My problem is when i want to add gui(Tkinter) i get error message.I googled and did everything to solve it but stucked.Please help me!!!!! my code is: … | |
Hi guys, I have a problem using GridBagLayout. I will paste my code here. You can run it. Sorry for the length :) I tried to comment it as much as possible. So there are three panels in this GUI. One left, one right, one south. The problem is only … | |
i have problem in updating GUI from another thread my code gives me exception i debugged to find the reason of exception i found that it is here [ this part of Wedget class [code] if (display.thread != Thread.currentThread ()) { if (display.threadId != OS.GetCurrentThreadId ()) { error (SWT.ERROR_THREAD_INVALID_ACCESS);//hereeeee } … | |
Author: [I] ================================================================================ Crt Unit Read-Me By: Will DeWitt Jr. (edge@boink.net) Mar 21st, 2003 ================================================================================ BRIEF NOTES AND INFORMATION: This unit was created primarily to support my development of console mode applications under Delphi. I've tested this unit and had it successfully works under Delphi 2, 3, 4, 5, 6 … | |
Hi, I wish to create a very simple GUI for my C++ code I have written a simple C++ program using Microsoft Visual C++ Express. The details of the program functionality are not really important. Currently the user enters a number (1-5) on the command line and presses enter. A … | |
I'm getting "TypeError: unsupported operand type(s) for *: 'instance' and 'int'" It looks as if I am not setting a correctly and it would be great if someone could assist me with my problem. Thanks! [CODE=python] #! /usr/bin/env python from Tkinter import * import tkMessageBox tkMessageBox.showinfo("Text","Hello. Tell me any whole … | |
Hey, I am trying to make a program that has pictures on the GUI, but am having trouble making the picture show up. Here is the code: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; /** Quick example showing images (specifically ImageIcons) on JButtons and JLabels @author Sharon Tuttle @version 11-04-08 … | |
i am having great difficulty on one of my assignments. AM I NOT ASKING FOR THE CODE, I AM JUST ASKING FOR SOMEONE TO POINT ME IN THE RIGHT DIRECTION SO I CAN DO SOME RESEARCH AND DO IT MYSELF. The specifiaction says " Different locations will be respresented by … | |
I am using python 2.6 and am new to using Tkinter. I am trying to create a basic template GUI for a Toplevel Frame with multiple frames inside of it. I ran into an issue where I am not able to clear my frames properly. I think I have an … | |
in this program i have to use listners, and radio buttons and buttons....right now i am doing the first part of the program where when the user selects the radio button for circle two circles appear on the screen..... [code] import javax.swing.JFrame; public class shapes { public static void main(String[] … | |
Hi Everyone. Desperate stupid question but.. Client side JS is crippled, no file access etc and the browser is also sandboxed but has anyone heard of someone running Server-side JS on the client side in a non-sandboxed browser? I know this sounds insane but in a safe intranet only environment … | |
I have a task that sounds simple enough... but I don't code in Python; my background is in network design. So, here we go, I have to write a script that scans text files on a network share to parse for anything in the the text log that begins with … | |
Hi, I am using CodeGear c++builder. Im trying to make a GUI to read, write and modify an .mdb( ms-acces) file. In my form i use TQuery, TDBGrid, TDataSource. So im able to load the database in the TDBGrid using SELECT. I can also use UPDATE, INSERT so that i … | |
Ok first of all I'd like you guys to know this is like my first thread ever so go easy on me if I'm not doing something right :P Right then , so I've been programming in python for some time now and I love pretty much everything about this … | |
I am trying to put a terminal into my tk gui program as a widget. I figured out how to have the output of a command sent to a text widget: [CODE] root = Tkinter.Tk() tfield = Tkinter.Text(root) tfield.pack() for line in os.popen("run_command", 'r'): tfield.insert("end", line) root.mainloop() [/CODE] But how … | |
Hello everyone, Confused with the title of the thread? Well, I guess that`s because my brain is completly fried from trying to find the correct way to do something that seems impossible without your help. Here is the story, I have 8 questions, each containing 5 answers. I have a … | |
I just loaded the 10g client EM on my Windows workstation to connect to our 10g database. Everything works great except I dont see any place where I can edit records. I have to use SQL Plus to edit records but was hoping to use a GUI like I had … | |
whats the best way to make gui programs write all code your self or use the gui creator from netbeans? dont you get crappy code from the creator ? | |
here is the code for displaying the content of the database if a run the file 'java listall' then it will work well but when i try to run the code from the main class with the help of JButton list as if(ae.getSource() == list) { System.out.println("list working"); new listall(); … | |
Hey all, I am currently creating a program that is like an automated food ordering menu. Imagine a form that has two listboxes (or listviews), the first listbox contains the items that can be ordered, I stored these items into an array and displayed them using a for loop construct … | |
I will start a new project. But I have some simple questions about it : 1) Is the C faster than Java on processes which has no graphic user interfaces (like softwares which are working just from command line) ? 2)Because if the C is faster than Java, I want … | |
hello please help me on this how to make the log in password in gui that can accept at least 6 characters and not more than 10 characters..and if i will re enter the password and it will prompt to the user that password is already exist..hoping for your positive … | |
Hello everyone. I am trying to write an application that uses OpenGL (with GLFW) for graphics. It is meant to be as portable as possible, and I try not to have direct interface with platform specific things other than through GLFW (I can also use SDL). The problem is that … | |
Hey, I have no idea if this thread already exists. I did try to make one before but it seemse like it didn't work. So here goes ! My question is - How do I put my .o files into an object library file? I'm using c++ visual studio express … | |
I recently started with developing D-CM, a tool for web-programmers. It is a GUI that bundles a file manager, mysql, ftp, text-editor in one I wanted to know what the daniweb community thought about this so if there are people willing to test it -goto [url]http://code.google.com/p/d-cm[/url] and download the latest … | |
I have a class KeyCards.java that just sets up a panel (gui) with labels,combobox and text fields when the combobox is selected a class generates strings to send to a class public Class Progressions extends KeyCards and puts the strings in setters. once all the strings are there it calls … | |
Hello I'm making an GUI app to open a image and zoom it. This function is used to open the image & display it: [CODE] def file_open(self): filename =askopenfilename(filetypes=imageTypes) image1 = ImageTk.PhotoImage(Image.open(filename)) self.canvas.config(height=image1.height(), width=image1.width()) self.canvas.create_image(2, 2, image=image1, anchor=NW) self.image = image1 self.img_zoom(image1) # passing image1 to img_zoom function[/CODE] The image … | |
Hi all, I have a java swing based client server application. The GUI is in swing and I am using glass fish as my server. Is there a way or any software available to create an environment where I can test my application by creating virtual user connections so that … | |
hey guys, new to gui java. i found some code and have no idea what it does could somebody explain it to me please and help me understand how it could be changed it something more readable [CODE] try { URL url = this.getClass().getClassLoader().getResource(ref); sourceImage = ImageIO.read(url); } catch (IOException … |
The End.