0
votes
0answers
20 views

Should I be using GTK threads/Good tutorials on GTK threading?

This is my scenario so far: I am trying to build a GUI using GTK in C. In the middle of the GUI will be a screen displaying video input. The video input window is a XLIB window which I am (currently ...
0
votes
2answers
29 views

UI thread and Surfaceview

I am very new on android. I saw in the android developer website two rules about android threading : 1 : Do not block the UI thread 2 : Do not access the Android UI toolkit from outside the UI ...
0
votes
1answer
49 views

GameOfLife: No response after starting Thread

after a lot of searching and testing I finally give up and just ask you guys.^^ So: I'd like to write Conway's Game of Life as an app (http://en.wikipedia.org/wiki/Conway's_Game_of_Life), but I'm ...
-1
votes
1answer
34 views

how to run back-end (Non-Stop process) process without affect the Ui Thread in Andrioid

My problem is : I am trying to run a continues non-stop process from the time of activity created to destroyed. if i do it the UI Thread stop the execution / unable to access any ui in ...
1
vote
3answers
37 views

Updating the UI right before running the BackgroundWorker

I have this really little problem, but which can't be easily solved. Currently, my program has 2 buttons, a "Start" and a "Cancel". When the user clicks the start, the buttons should go instantly: ...
232
votes
22answers
152k views

How to update the GUI from another thread in C#?

What is the simplest way to update a label from another thread? My problem I have a winform(thread1) From thread1 I'm starting another thread (thread2). While thread2 is processing some files, I ...
3
votes
10answers
2k views

Where can I learn to build desktop applications with C#?

My background is in web programming, mostly scripting with Perl. And I've recently been tasked with creating a desktop application. I'm wondering, where can one learn such concepts like making ...
0
votes
1answer
20 views

RunWorkerCompleted updates UI before DoWork has finished

I'm curious to know why the RunWorkerCompleted actually happens to update the UI before the progress bar has finished, with the textBox1 text "Done". Why is this happening? public partial class ...
0
votes
2answers
22 views

Cannot update user interface (Using openCV) CalledFromWrongThreadException

I am implementing an application with OpenCV library. After processing the inputFrame of the camera, I want to update my TextView. However, I get the following error: 08-01 17:01:45.085: ...
0
votes
2answers
39 views

Updating UI-thread with handler

I have scoured the web to find definite examples of this but so far couldn't find one which I could have applied to my project. I'm trying to create a worker-thread which is run every 100ms. It then ...
4
votes
2answers
55 views

Asynchronuos binding and LINQ query hangs

I have a UI control that takes Enumerable as its binding source. But until I set the binding source, I have to filter my original Enumerable. I would like to use LINQ for that purpose like that: ...
1
vote
1answer
35 views

JavaFX: Updating UI elements in a Controller class from a Thread

In JavaFX, I have a Controller class that pulls control components from an FXML file and has methods that act on the component, shown with a Label here: public class ViewController { @FXML ...
1
vote
1answer
45 views

How do delegates solve cross-threading issues?

I know you can't call a GUI update function from a background thread, yet I can't see how creating a delegate, assigning the GUI update function to it, and then calling it solves this problem. How is ...
0
votes
1answer
30 views

GUI not displaying all packets received

Hi friends I below is my code for receiving Multicast Wifi Data on android. I am using runnables like below to update the GUI but i found thatsome packets are missing. I am using this code to receive ...
0
votes
2answers
59 views

Updating Multiple Textbox Java GUI

Hi friends i am here again with another problem in same code. I have an activity or form in which there is one text box called time here. As suggested by experts from this forum i am using runnable to ...

1 2 3 4 5 45
15 30 50 per page