4,919 Topics
![]() | |
I started using Python a few weeks ago, something finally clicked and I started writing tools for my personal use. I started writing something with a GUI using GTK and the code lines started multiplying rapidly, so I thought to myself "Am I commenting my source to death? How many … | |
My goal is to create a clone of minesweeper. I've created a custon component that extends the JButton class, for each of the minesweeper buttons. I've called this new class SweeperButton. the game board is going to be made in another class by creating a two deminsional array of SweeperButtons, … | |
Hi, I've started learning Python and want to find out how easy is creating GUI for a software. I used to use VB6 with Visual Studio and it was all about Drag and Drop items on a form. Do we have such thing or we just have to hand code … | |
I want users to enter their name into a textbox but i want to ensure that they type in something so my program will continue the name into another form by a button. How do foolproof this while clicking the button won't automatically send nothing to the other form and … | |
I need to fetch questions with 4 optional answers from dtabase.... tables are questions | options...html code is below... <table width="536" height="54"> <tr> <td class="deco">Q<?php echo $index.") ".$questions; ?> </td> <td width="15"></td> </tr> <?php while($row_wrong_ans = mysql_fetch_array($res_wrong_ans)){ $op_index = $row_wrong_ans['fbo_index']; $op = $row_wrong_ans['fbo_ans']; ?> <tr> <td width="473"><input type="radio" name="radio[<?php $index;?>]" … | |
how to disable a button with another button in another form that hasn't been opened yet in visual basic 2008? | |
Hey all, I'm currently somewhat new to Java, but not to programming, so I appologize if there's an obvious way to do this. Anyway, I'm currently writing a peice of code that I hope will be a graphical front end to GDB because I hate all the other front-ends, it … | |
I have a DELL INSPIRON and I have trouble starting up my laptop. The power button does not work properly. This had happened for a few months and I just started it up by pressing it hard and for a long time. And now my battery is damaged and I … | |
<div style='float:left;padding:5px 5px 5px 0;'><a expr:share_url='data:post.url' href='http://www.facebook.com/sharer.php' name='fb_share' type='box'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div> i need to add '<?php echo $strALink;?>' this variable into tis code . for facebook sharing i don't know . plz help me. | |
Hi, I got a strange problem with a TextBox, which is in an Xpander in an XpanderList in a custom UserControl. (Using C#, .NET 4, Visual Studio 2010, WinForms, Windows 7.) I am making a simple "auto-complete", by starting a Timer in my TextBox TextChanged event. If this timer fires … | |
I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end … | |
Hi, I am trying to make simple gui which switches jpanel inside jframe but my IDE says "Cannot make static reference to non static method setPage(int) from the type Main". Why is that? There is no static modifier on actionPerformed or at setPage or actually anywhere else than public static … | |
Located in the upper, left-hand corner of the GUI window is a small "[COLOR=red][B][I]Tk [/I][/B][/COLOR]"; is it possible to get rid of this entirely? It is only a small detail, but a detail none-the-less that I wish to have control over in regards to the final product. I would also … | |
I am making a project on Visual Studio 2010 and i want to add some Stylish and Glassy Buttons to it so plz how can i do this ? if i could get some already made Buttons or i can make them myself .............. Thnks :) | |
I know that windows has the #include <windows.h> Header but what does linux have and does it pay to program for linux, I mean like if i program for microsoft ofcourse ill get paid but are there linux "companys" that will also pay good? Reason why i ask is becuase … | |
Im having a lot of trouble trying to figure out something that seems like it would be easy. For my final project I have to create a GUI application. I got it set up and working where when you click the button it will display some text depending on what … | |
**Hello i am a noob when it comes to java so sorry if its obvious but the code below is giving me a error when i try to compile it, the error is: Exception in thread "main" java.lang.Error: Unresolved compilation problem: at goodcalculator.main(goodcalculator.java:127). Can anyone help me? ** CODE: import … | |
I am trying to write code for a calculator in a way it appears in GUI.What i mean here is ,i want to display a zero and then replace it with a value (typed) there after perform operations.I am using Visual Studio 2010 ,i want my output to appear as … | |
HI, how can i integrate these both code mentioned below so that the output displayed on the black edit box must be as:(2+2)/2+2*3=8 here is the code of BODMAS calculation: #include <stdio.h> int calc(char *exp_str){ FILE *fp; int ret; fp=fopen("calc_aux.c","w"); fprintf(fp, "int main(){ return %s; }", exp_str); fclose(fp); system("gcc calc_aux.c … | |
I require a feature that I may only use once, I could use a screen capture program, but if I need this feature again it may come in handy. I want to select all associated files type on a server, either that or copy and paste the files in a … | |
hello, i want the code in c#, working on a project. i have code in which i click on the button named OPEN FOLDER, next step is, it open window for browsing, then user select the folder containing images. after selecting folder, the upper half of same folder that was … | |
I have made 2 classes; Customer and Repair. I have a map<String, Customer>(customerDetails). Customer objects hold a map<String, Repair>(repairs). My GUI has 2 JTextAreas, notes and results. In notes ou type some notes and when you choose save the notes appear in results and a new Repair is created with … | |
I have created a form and I added a JFileChooser on it. When I start the form , the JFileChooser appears when the form loads. I gave used netbeans fileChooser tutorial.(http://netbeans.org/kb/docs/java/gui-filechooser.html) Any ideas? Thank you. | |
Hi, How do you disable the minimize button in a JFrame. I only want to disable the minimize button, not the close and maximize button. Please help me with this one. Thanks. | |
I have the following code where I have several small problems. I have included some comments as I can't seem to get my 'pop up menu' button to work in order to retrieve the number of columns requested by the user. I then need to be able to get the … | |
Hello everybody, I'm trying to improve an application i found at this link [Click Here](http://www.alcrypto.co.uk/satmap/tkinter-video.py) which can load and play a video file .avi or .ogg. My problem is as follows: I'm unable to load another video file though i have access to the dialog box. In addition to that, … | |
Hello. I am working on a personal project. It's basically a program for changing specific tags from certain HTML files. So far, everything works. The GUI and the logic a work but I know the main function is wrong because it looks like this: def tag_remove(HTML_string): clean_HTML = a_string.replace('<b>', '').replace('<i>', … | |
I have a TreeMap<String, Customer> (Customer is a class I have created). Customer objects hold a HashMap<String, Repair> (Repair is a class I created). I wrote a method to find a given Repair, this is it: public void processFindRef() { if(ref.length() == 6) // ref is the string we want … | |
I have to write an application in python for image processing.I have made scripts of all the image editing options. Now I want to add GUI in it. I want a window where I can give the path of an image on which I want to perform the editing! At … | |
I've been working through an excersise in a introduction to Java book by Deitel and I have a solution to a problem. The program will compile, but I get a message that says, "Exception in thread "main" java.lang.IllegalArgumentException: adding container's parent to itself" Can Someone please help me? Here is … | |
Here's a list of useful freeware applications, arranged alphabetically by category. Please post your favourite software to this thread.... Antivirus: AVG - [url]http://www.grisoft.com/us/us_index.php[/url] Avast - [url]http://www.avast.com/[/url] AntiVir - [url]http://www.free-av.com/[/url] Panda ActiveScan - [url]http://www.pandasoftware.com/activescan[/url] Audio Players: Foobar2000 - [url]http://www.foobar2000.org/[/url] Sonique - [url]http://sonique.lycos.com/[/url] iTunes - [url]http://www.apple.com/itunes/[/url] jetAudio - [url]http://www.jetaudio.com/[/url] QCD - [url]http://www.quinnware.com/[/url] … | |
hey if anyone knows how to open open window when we click on open option in menu bar of gui which is created by boa constructor. | |
Hello everybody, I was wondering if anybody knows whether or not it is possible to send data too fast over a NetworkStream? I have an issue with my client/server program, where I am sending large files over normal IP address (Not Local) where everything used to work fine. It would … | |
I have a written code on a simple address book which allows addnew,view single entry and view all names. I have added the delete functionality to allow one to enter name to delete its entry but I get Error: [B]cannot find symbol return addressBookEntry.delete(); symbol:method delete() location:variable addressBookEntry of type … | |
Ok so here's the thing, I used to read in data from an excel file and bulk copy this data into a SQL table and everything worked fine. But now, my source file changed, so now i get data from a other excel file. Both file look exactly the same, … | |
If you could help me out, thanks. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; // Adds all stuff for files namespace WindowsFormsApplication1 { public partial class Form1 : Form { static String fileloc; public Form1() { InitializeComponent(); ContextMenu editorMenu … | |
I'm trying to add an image to the top of my GUI as a logo. I tried to put it in a JPanel then add the JPanel at the top of the GUI, the only problem is that my image isnt going into my JPanel. Heres my code for it … | |
How would I go about searching a map that hasbeen written to a file? My GUI has a method caled processFind() which prints all keys in the map, I have this working but not if the map is saved to a file. private void processFind() { gui.results.setText(""); for (Object s … | |
Can i create **GUI in round** shape wihtout title bar by extending **JFrame** class in java. I want circular shape instead of default rectangle. How can i do this? Plz give solution as soon as possible. | |
I have a TreeeMap that i need to wite to file. I tried this: try { File file = new File("reboot_customer_details"); FileOutputStream f = new FileOutputStream(file); ObjectOutputStream s = new ObjectOutputStream(f); s.writeObject(customerDetails);//customerDetails is the map i need to save s.close(); } catch(Exception ex) { gui.results.setText("Error: " + ex); } When … | |
I have no idea where to start with this, a few pointers and a kick in the right direction would be much appreciated. I run a radio station. All our music is in folders representing music styles. From time to time I want to print out a complete library. Printing … | |
I am making a c# level editor and it is a bit out of my league but it should be good to learn oop algorithems. I have only just started and have already come across a problem. ** I need to load images as sprites and then create a button … | |
Background, I want to install allegro on the iMac 10.6.8 after my macbook crapped out. It didn't compilers installed whatsoever, so I had to find Xcode at a seedy 3rd party site because apple no longer supports Xcode for 10.6. It came as a binary, simple install didn't give me … | |
![]() | Hello. I recently finished my 1. semester in Computer Science, and got a good fundamental idea on programming in Python. Our exam assignment whas to create a game where we had to smash robots by clicking around with the mouse. The GUI was provided by our instructor. Now we newer … |
Hi I am trying my hand at GUI using Python and Tkinter. I know there are probably better options out there but I only have access to Tkinter here at work. My question is this. I have written this: #!/usr/local/bin/python2.6 from Tkinter import * import os root = Tk() root.title("EIMA … | |
Well, I have managed to create controls during runtime. Dim Rbut As New Button() Dim Lbut As New Button() With Rbut .Location = New Point(590, y + 15) .Text = "Remove" .Name = FontName(ListBoxCount) End With With Lbut .Location = New Point(590, y + 45) .Text = "Lock" .Name = … | |
I intend to write a GUI java program which convert a decimal(base 10) to hexadecimal(base 16). Floating point decimals are also valid input. the code of my program private void myEnterButtonActionPerformed(java.awt.event.ActionEvent evt) { float mynum; mynum = Float.parseFloat(this.myNumberField.getText()); Float floatObject = Float.valueOf(mynum); myResultField.setText(Float.toHexString(mynum)); } but when I run the program, … | |
I am not sure if I am doing this correctly since it has been awhile since I last used Daniweb. I need some help with the code that I have submitted and am getting the following two errors. I am new to java and not sure of what to do. … | |
Hi, I am using php and html and i am trying to make two buttons: - Print button: that print a specific picture (not the whole page) - Download button: which will display the save as window to save a picture. Do you know if this is possible and how, … | |
Hello, I'm pretty new to Java and this is my first GUI project, so try to explain like I am 5. I declare a label normally, then I set an Icon into it like this: x=rand.nextInt(4)+1; if (x==1) { computer.changeInfo("Fox McCloud", 500, 250, 100, 100, 65, 25, 15, 110, 35, … |
The End.