Hi Everyone, I am having a strange problem on my webpage. I am getting this Black shade whenever i type or focus my cursor on a select or text field. the strange thing is its only happen on a specific page and not to the entire system that i am making. Does anyone of you experience / have encounter something like this? and know the solution? You can view the screenshot here. [Click Here](https://ibb.co/hWq6Fb) [Click Here](https://ibb.co/jyUNow) Thanks!

Member Avatar
Member Avatar
+0 forum 3

Hello, I was testing a class in a GUI, and that error message showed up. Please help. Code: [CODE]from Tkinter import * class Application(Frame): def __init__(self, master): super(Application, self).__init__(master) self.grid self.create_widgets() def create_widgest(self): self.bttn1 = Button(self, text = "I do nothing!") self.bttn1.grid() self.bttn2 = Button(self, text = "Me too.") self.bttn2.grid() self.bttn3 = Button(self, text = "Same here..") self.bttn3.grid() root = Tk() root.title("Lazy buttons") root.geometry("200x100") app = Application(root) root.mainloop[/CODE]

Member Avatar
Member Avatar
+0 forum 11

Hello, I am working on a simple timer toolbar app in swift for macOS and I am experiencing a visual bug. Basically, I should be able to add any number of timers to the main screen and they should stack on top of each other. Once the space is filled up in the window, a scroll bar appears allowing you to scroll through all the timers. My issue is that when I add the timers, they do not show all the time. I have a hunch it is either some refresh issue or some spacing issue. The blank screen looks …

Member Avatar
+1 forum 0

below is the code i have and i am getting an unhandled IOException in the inputstreams: import java.nio.file.*; import java.io.*; import static java.nio.file.AccessMode.*; import static java.nio.file.StandardOpenOption.*; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class FinalProject extends JFrame implements ActionListener { JLabel guess = new JLabel("Guess the picture: "); JLabel intro = new JLabel("welcome"); Font bigFont = new Font("Veranda", Font.PLAIN, 20); JLabel out = new JLabel(""); JTextField input = new JTextField("",10); JButton enter = new JButton("Enter"); JButton play = new JButton("Play"); Icon bb[]; Icon sw[]; JButton bbB[]; JButton swB[]; String[] bbArray = new String[8]; String[] swArray = …

Member Avatar
Member Avatar
+0 forum 2

Hello, I'm trying to read a serial port data from a controller and plot it using chart. I could read the data from the controller and see the data in a textbox earlier. Now I'm trying to use a chart along with the textbox. There are complication when I'm trying to use both together. I get an exception because I'm trying "data = sp.ReadLine();" for chart. I'd like to keep the textbox just to verify what I'm plotting, but I understand that I can also do that using putty. There's no response even when I use only the chart to …

Member Avatar
Member Avatar
+0 forum 4

Hi all, Ive been looking to convert one of my programs to include a GUI, and am having issues with the timing aspects of it. Ive included a mock scenario of what my problem is below: Ive defined my GUI as an object via a class, and am using the buttons to call other methods in the class. These methods used to use the time.sleep() function to wait a certain time before completing a task, and am now using the root.after method instead. However, once the button is pressed and the method with the delay is caused, (delay 10s), the …

Member Avatar
Member Avatar
+0 forum 5

I like art and I like web development. I've been out of the loop the last two years and coming back, I see tons of new in-browser abilities. I don't know advanced code but wonder if the Internet can handle serving an adjustable (with scaling limbs), posable mannequin (like those of wood fame) to act as a resource for the drawing community. Android apps PosableLite and Pro have a mannequin of a fixed size; Mara 3D isn't avaiable state-side and others aren't posable. "FigureUp" doesn't offer IK forces and MakeHuman is much too polished; it's for video game assets, not …

Member Avatar
Member Avatar
+0 forum 1

Hello, it is me once more. I am using Python 2.3, and I must use Zelle's graphics class (and I must agree with many of you. Tkinter is much better). We have been tasked with creating a Graphical Scientific Calculator. In addition to the normal operators, it must contain the following buttons: log - base 10 of display ln - base e of display exp - e to the display power sin - sine of display in radians cos - cosine of display in radians tan - tangent of display in radians sqrt - square root of display 1/x - …

Member Avatar
Member Avatar
+0 forum 25

Hi guys, I'm now looking at what seems to be a nice exercise on my java book. Basically, the exercise asks me to build a virtual keyboard GUI - see screenshot - and when you press each key on your real keyboard the key you've pressed will change its background on the virtual keyboard and then return back to normal when released. It's an application to learn touch type effectively. ![exercise.png](/attachments/large/2/0850f3b5788addc7b5907dab4419815b.png "align-center") Now, what I'm planning to do is to have two JLabels at the very top, a JTextArea for the text and JButtons for all the keys. I think …

Member Avatar
Member Avatar
+0 forum 44

hello, Using Python 2.7, PyQt4, Qt Designer, and used pyuic4... I think thats it... windows 7? I have a GUI i created in Qt Designer. It has one button and one LCD number. I was trying to get the button to start and reset a timer, and have the elapsed time displayed as value on the LCD number in hh:mm:ss format. I have done numberous searches online, and found examples in other languages except for python? I have found examples that print time, but nothing in python which links to the LCD number from Qt Designer? Maybe it cant be …

Member Avatar
Member Avatar
+0 forum 2

I have no idea how to create a Gui from another Gui using python. What I have so far is simply a basic Gui which you select one of the options from a dropdown menu and create another Gui. Here's what I have so far... import sys from tkinter import * #def m forces = [] def mCalculate(): mtext = mass.get() mtext2 = acceleration.get() mlabel = Label(mGui,text = mtext * mtext2).pack() forces.append(mCalculate) return def mGraph(): messagebox.showinfo(title="Graphs",message="Graph option 1") return def secondGui Tk(): secondGui.title('Second Gui') button = Button(text = 'Graph these points', command = mGraph).pack() def mGraphAction(): mPoints = forces mGui …

Member Avatar
Member Avatar
+0 forum 5

Hi Guys, I wanna know how to change a label's text thats in a different form when the user presses a button in the mainform, I have heard about the Signals and Slots thing but not experienced enough to understand that, Please Help Me!

Member Avatar
Member Avatar
+0 forum 4

Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very simple to use yet possesses the techniques seen in the more complex desktop applications such as Perl/Python/C/C++/C# etc. PHP has always been restricted to server-side web applications, and unlike the others, cannot run as a desktop application – until now. I would like to share an awesome tool I’ve been using recently… [PHP Nightrain](http://www.naetech.com/php-nightrain) is a cool bit of kit: it fully supports popular frameworks such as Laravel and CakePHP, …

Member Avatar
Member Avatar
+7 forum 5

This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use those examples/templates as a basis for more complex programs. We also welcome code that compares the various GUI toolkits. Again, don't clutter up the sticky with questions. Ask question in the regular forum. A brief history of GUI based Operating Systems migh be in order: The first Graphical User Interface …

Member Avatar
Member Avatar
+9 forum 235

I'm trying to make a program that removes all occurences of a specified string from a text file. I'm having trouble with tying in everything to make it work, so that the user is prompted to enter a string. This is what I've got: import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField; public class RemoverFrame extends JFrame { private JLabel prompt; // label to prompt user to enter private JLabel display; // label to display private JTextField textEntered; // textfield to enter text // constructor sets up GUI public RemoverFrame() { super("Text Removal"); prompt = new …

Member Avatar
Member Avatar
+0 forum 3

hi guys i've written an bare OS and now im trying to go a little furthur and create a very simple GUI for it . but i have no idea how to create such a thing . my os is running in text_mode though i can change to some other mode but it will couse some problems as i've written nearly all the nessecary libraries of c myself (couse i didn't have them for direct developing ) and by doing this it will be no longer possible to write characters on the screen . i got to write a VGA …

Member Avatar
Member Avatar
+0 forum 5

Hi guys, good day! I have a question here pertaining to Visual C++ graphics based. I recently started out incorporating GUI into my C++ programs, in this case, a calculator. I have a textbox named TextBox1, the user enters the numbers and operators inside it, and when the button is clicked, it outputs the result. Here is a sample input; 4+2 when the user clicks the button, it outputs 6 into a label. Problem is, I could not obviously use cin here to get the numbers and store into my variables. Can someone show me a very simple code as …

Member Avatar
Member Avatar
+0 forum 2

I recently posted a code sample to rosettacode on the "8th" section there, for the '24 game'. The code is also present as well as some discussion on the 8th forum, here: http://8th-dev.com/forum/index.php/topic,294.0.html It shows some interesting techniques that are 8th-specific, like restricting the user's access to the underlying interpreter (e.g. REPL). I'm considering making a GUI version of the same, but I'm not sure what would be a nice way to present it. Any ideas?

Member Avatar
+0 forum 0

I've managed to construct a working code for John Conway's Game of Life. Now I wish to GUI-ize it. My only problem is printing a matrix. I want a huge text field to print "_" for no life and "X" for life in each cell (much like I did in cmd version). Tried with setText, but to no avail.

Member Avatar
Member Avatar
+0 forum 17

I have a Tkinter GUI that is composed of two widgets, the first is a widget class with an entry field and a button and the second is a scrollable text widget class. I have combined these two widget classes to make a single GUI. Each of these widget classes works correctly as individuals. The text field of the GUI is being used to display the contents of a specific index of a list.I want to be able to enter an index number in the entry field and upon pressing the button the text in the text field is re-configured …

Member Avatar
Member Avatar
+0 forum 8

Hi, is that possible Tkinter to play a video? And if not possible so what GUI programming that you can recomended? I already search in google, find a few but there's dead link.. I need to show 2 windows, first the original video, and the second is video after processing

Member Avatar
Member Avatar
+0 forum 2

Hello friends :) I'm almost familiar with Tkinter and Kivy frameworks, but i'm looking for other python GUI frameworks, soething better than Tkinter. Kivy is also great but i need to watch more tutorial videos and i'm not able to do that right now. Can you introduce a better and more easier framework to me? Thank you ;)

Member Avatar
Member Avatar
+0 forum 6

Hello to all, I have a console executable file that I run from DOS console passing some options and an input file. I'd like to give to this exe file a GUI. I'd like that the GUI was a new exe file that could contain inside my console exe file and run the console exe from the GUI, having the console exe file inside of the GUI file. Is possible to do this with C++? Please suggestions. Thanks in advance. Regards

Member Avatar
Member Avatar
+0 forum 8

I have this as my major code #!/usr/bin/env python # # @author: Joseph Rex # @website: http://josephrex.me # @repository: http://github.com/bl4ckdu5t/registron # # # import sys, webbrowser from PyQt4 import QtGui, QtCore from ui_registron import Ui_MainWindow try: import pyttsx except ImportError: raise ImportError, "pyttsx module is required for speech features of registron" class Main(QtGui.QMainWindow): """Main class for registron""" def __init__(self): QtGui.QMainWindow.__init__(self) self.ui = Ui_MainWindow() self.ui.setupUi(self) self.ui.connect(self.greetWelcome) self.ui.proceedBtn.clicked.connect(self.checkCampusID) #Menu Actions self.ui.actionQuit.triggered.connect(self.close) self.ui.actionDocumentation.triggered.connect(self.openGitPage) # self.ui.actionAbout.triggered.connect(self.aboutProgram) # self.ui.actionCredits.triggered.connect(self.showCredits) # self.ui.actionNewWindow.triggered.connect(self.cloneWindow) # self.ui.actionSignIn.triggered.connect(self.adminAuth) def greetWelcome(self): function.talk("Welcome to Registron") def checkCampusID(self): campusID = self.ui.matricInput.toPlainText() def openGitPage(self): webbrowser.open('http://github.com/bl4ckdu5t/registron') class programFunctions: """Core functions for registron""" def talk(self, speech): …

Member Avatar
Member Avatar
+0 forum 1

i write a code in java of GUI calculator. i handle its addition event only but it is not working i don't know why its code is here import java.awt.*; import javax.swing.*; import java.awt.event.*; class Calculator extends JFrame implements ActionListener{ JTextField jtext; JPanel p; JLabel lab; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b0,bPlus,bMinus,bMul,bPoint,bClear,bEqual; public Calculator(){ b0=(new JButton("0")); b1=(new JButton("1")); b2=(new JButton("2")); b3=(new JButton("3")); b4=(new JButton("4")); b5=(new JButton("5")); b6=(new JButton("6")); b7=(new JButton("7")); b8=(new JButton("8")); b9=(new JButton("9")); bPlus=(new JButton("+")); bMinus=(new JButton("-")); bMul=(new JButton("*")); bPoint=(new JButton(".")); bClear=(new JButton("C")); bEqual=(new JButton("=")); jtext=new JTextField(15); lab=new JLabel("My Calculator"); p=new JPanel(new GridLayout(4,4)); p.add(b1); p.add(b2); p.add(b3); p.add(bClear); p.add(b4); p.add(b5); p.add(b6); p.add(bMul); p.add(b7); p.add(b8); …

Member Avatar
Member Avatar
+0 forum 6

The idea of this thread is to help the beginning wxPython GUI programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! For info on wxPython modules see: http://www.wxpython.org/docs/api/wx-module.html

Member Avatar
Member Avatar
+2 forum 164

Hi! Few days ago, I had learned C language. It took me almost 8 to 10 months to learn the whole language. Now I wanna want to make real world applications using it. I'm an Ubuntu user or more generally a Linux user. The point to ponder is that I don't know how to create an application. I can efficiently read and write C code, but do not know how to write full fledged applications in it. I want to know how to write GUI applications for Linux. I was thinking of creating a GUI text editor in C on …

Member Avatar
Member Avatar
+0 forum 3

On line 21 of this code where I have self.greetWelcome() . I'll love for that function to be called after the GUI is loaded. What event do I have to listen for and on what object to call it after the GUI is loaded. As of now, it works before the GUI loads up. #!/usr/bin/env python # # @author: Joseph Rex # @website: http://josephrex.me # @repository: http://github.com/bl4ckdu5t/registron # # # import sys, webbrowser from PyQt4 import QtGui, QtCore from ui_registron import Ui_MainWindow try: import pyttsx except ImportError: raise ImportError, "pyttsx module is required for speech features of registron" class Main(QtGui.QMainWindow): …

Member Avatar
Member Avatar
+0 forum 3

I'm trying to make this as easy as possible but I'm stuck. Inside the for loop, if the input entered was not a number or wasn't valid, it moves on, but I don't want it to. I want it to repeat that interation. Is there a possible way to do this? package com.geodox.combolock; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class ComboLock { public static void main(String[] args) { new ComboLock(); } private ComboLock() { Combination combo = new Combination(); while(!(getInputCombo() == combo.toString())) { System.out.println("Wrong! Try again!"); } System.out.println("Combo Found: " + combo.toString()); } private String getInputCombo() { …

Member Avatar
Member Avatar
+0 forum 2

This is the message it gave me :( Pls help Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:205) at PPMSPrototype.initComponents(PPMSPrototype.java:841) at PPMSPrototype.<init>(PPMSPrototype.java:11) at PPMSPrototype$26.run(PPMSPrototype.java:1333) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo main.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Member Avatar
Member Avatar
+0 forum 2

The End.