Git Product home page Git Product logo

simuladorexperimentos's People

Contributors

douglasbreda avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

univali-lite

simuladorexperimentos's Issues

#1 Conflito entre threads ao abrir a janela do simulador pelo Portugol

EDT violation detected

br.simulador.plugin.biblioteca.base.Agente$1[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] at java.lang.Thread.getStackTrace(Thread.java:1559) at br.univali.ps.DetectorViolacoesThreadSwing.checkThreadViolations(DetectorViolacoesThreadSwing.java:100) at br.univali.ps.DetectorViolacoesThreadSwing.addDirtyRegion(DetectorViolacoesThreadSwing.java:88) at javax.swing.JComponent.repaint(JComponent.java:4793) at java.awt.Component.repaint(Component.java:3311) at javax.swing.JComponent.setFont(JComponent.java:2758) at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:208) at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:66) at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:56) at com.alee.laf.panel.WebPanelUI.installUI(WebPanelUI.java:99) at javax.swing.JComponent.setUI(JComponent.java:666) at javax.swing.JPanel.setUI(JPanel.java:153) at javax.swing.JPanel.updateUI(JPanel.java:126) at javax.swing.JPanel.<init>(JPanel.java:86) at javax.swing.JPanel.<init>(JPanel.java:109) at javax.swing.JPanel.<init>(JPanel.java:117) at br.simulador.plugin.biblioteca.base.Agente$1.<init>(Agente.java:26) at br.simulador.plugin.biblioteca.base.Agente.criarFormaAgente(Agente.java:26) at br.simulador.plugin.biblioteca.base.Agente.<init>(Agente.java:22) at br.simulador.gerenciadores.GerenciadorExecucao.criar_agentes(GerenciadorExecucao.java:152) at br.simulador.plugin.biblioteca.Experimentos.criar_agentes(Experimentos.java:35) at programas.Programa1506899689153.executar(Programa1506899689153.java:31) at br.univali.portugol.nucleo.Programa$TarefaExecucao.run(Programa.java:675) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) [br.univali.ps.DetectorViolacoesThreadSwing violationFound]

Thread iniciada com a simulação

Como padrão, ao clicar na execução de um plugin, não é possível fazer alterações no Portugol durante o processo, porém, devido a necessidades referente a ambientes gráficos foi disparada uma nova thread para abrir o plugin, e agora, é possível abrir várias simulações ao mesmo tempo. Ajustar para permitir somente uma.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.